sábado, 12 de abril de 2008

LINUX BÁSICO


# ls /etc/
# ls/etc/ > /tmp/Archivos.txt
# more /tmp/Archivos.txt
# ech0 hola > /tmp/Archivos.txt
# tail /tmp/Archivos.txt

# ls /etc/
# ls /etc/ > /tmp/Archivos.txt
# head -30 /tmp/Archivos.txt

# ls /etc/ | sort -r
# ls /etc/ | sort -r > /tmp/Archivos.txt
# last > /tmp/Auditorio1.txt: Últimos usuarios que se loguearon en el sistema.
# last | grep root > /tmp/Auditorio.txt
# last | head -5 > /tmp/Auditorio.txt
# cat ejemplo.txt | head -60 | tail -9

#history | grep mkdir > /tmp/Archivos.txt: Grabar el historial del comando mkdir.

No hay comentarios: