Littlebitz Long Time Memory

Software development Blog Programming in focus.

Seguidores

LTM Units

HTML PHP Server CSS java mysql xml Apache sql xsl xslt Javascript Virtual Host classes encoding feeds maven seo shells JavaServer Mootools analysis android drupal events forms jquery oracle photoshop postgresql regular expressions sdk servlets tomcat

LTM Archive

  • ►  2014 (2)
    • ►  mayo (1)
    • ►  enero (1)
  • ►  2013 (7)
    • ►  septiembre (1)
    • ►  julio (2)
    • ►  febrero (3)
    • ►  enero (1)
  • ►  2012 (11)
    • ►  noviembre (1)
    • ►  octubre (2)
    • ►  septiembre (1)
    • ►  agosto (1)
    • ►  julio (1)
    • ►  marzo (3)
    • ►  febrero (1)
    • ►  enero (1)
  • ▼  2011 (23)
    • ►  noviembre (1)
    • ►  octubre (4)
    • ►  septiembre (1)
    • ►  agosto (1)
    • ▼  julio (3)
      • Help Running Programs In Sequential Order
      • BASICO PHP
      • Programming PHP: Chapter 5: Arrays
    • ►  junio (1)
    • ►  mayo (2)
    • ►  abril (2)
    • ►  marzo (2)
    • ►  febrero (2)
    • ►  enero (4)
  • ►  2010 (21)
    • ►  diciembre (5)
    • ►  noviembre (4)
    • ►  octubre (2)
    • ►  septiembre (2)
    • ►  agosto (3)
    • ►  julio (2)
    • ►  junio (2)
    • ►  abril (1)

Colaboradores

  • David RR Bloggin
  • littlebitz

28 jul 2011

Help Running Programs In Sequential Order

#!/bin/bash

#We launch glxgears on the background
glxgears&

#Capture its PID
pid="${!}"

#This waits until the program with the given PID ends
wait $pid

#Here we put more instructions, these will not be run until
#the wait command above unlocks the shell
echo "glxgears was closed, it's pid was $pid"
Publicado por littlebitz en 12:44 No hay comentarios:
Enviar por correo electrónicoEscribe un blogCompartir en XCompartir con FacebookCompartir en Pinterest
Etiquetas: Server, shells

21 jul 2011

BASICO PHP

Fundamentos de PHP - PHP Básico
Publicado por littlebitz en 13:43 No hay comentarios:
Enviar por correo electrónicoEscribe un blogCompartir en XCompartir con FacebookCompartir en Pinterest
Etiquetas: PHP

Programming PHP: Chapter 5: Arrays

Programming PHP: Chapter 5: Arrays
Publicado por littlebitz en 13:11 No hay comentarios:
Enviar por correo electrónicoEscribe un blogCompartir en XCompartir con FacebookCompartir en Pinterest
Etiquetas: PHP
Entradas más recientes Entradas antiguas Inicio
Suscribirse a: Entradas (Atom)