comandos básicos sis ope

27
COMANDOS BÁSICOS NOMBRE: LIMACHI HUANCA LUIS MAURICIO SISTEMAS OPERATIVOS

Upload: luis-mauricio-limachi-huanca

Post on 16-Jan-2017

100 views

Category:

Engineering


1 download

TRANSCRIPT

Page 1: Comandos básicos sis ope

COMANDOS BÁSICOSNOMBRE: LIMACHI HUANCA LUIS MAURICIOSISTEMAS OPERATIVOS

Page 2: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO BIN

ls /bin

Page 3: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO BIN

ls /bin

Page 4: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO TMP

ls /tmp

Page 5: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO DEV QUE EMPIECEN POR T EN ORDEN INVERSO

ls –dr /etc/t*

Page 6: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO DEV QUE EMPIECEN POR

TTY Y TENGAN 5 CARACTERES

ls /dev/tty??

Page 7: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO DEV QUE EMPIECEN POR TTY Y ACABEN EN 1,2,3 o 4

ls /dev/tty*^[1-4]

Page 8: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO DEV QUE

EMPIECEN POR T Y ACABEN EN C1

ls / dev/ t*C1

Page 9: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS INCLUIDOS LOS OCULTOS DEL

DIRECTORIO RAIZ

ls / -a

Page 10: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO ETC QUE NO

EMPIECEN POR T

ls –d /etc/[^t]*

Page 11: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO ETC QUE NO

EMPIECEN POR T

ls –d /etc/[^t]*

Page 12: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO

ETC QUE NO EMPIECEN POR T

ls –d /etc/[^t]*

Page 13: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO ETC QUE NO

EMPIECEN POR T

ls –d /etc/[^t]*

Page 14: Comandos básicos sis ope

LISTAR TODOS LOS ARCHIVOS DEL DIRECTORIO USR Y SUS

SUBDIRECTORIOS

ls –R /usr

Page 15: Comandos básicos sis ope

CAMBIARSE A DIRECTORIO TMP

cd /tmp

ls

Page 16: Comandos básicos sis ope

VERIFICAR QUE EL DIRECTORIO ACTUAL HA CAMBIADO

pwd

Page 17: Comandos básicos sis ope

CON SOLO UN COMANDO POSICIONARSE EN EL DIRECTORIO HOME

Cd /home

Page 18: Comandos básicos sis ope

VERIFICAR QUE SE ESTA EN EL DIRECTORIO HOME

pwd

Page 19: Comandos básicos sis ope

LISTAR TODOS LOS FICHEROS DEL DIRECTORIO HOME

Ls -i

Page 20: Comandos básicos sis ope

BORRAR TODOS LOS ARCHIVOS Y DIRECTORIOS VISIBLES DE SU DIRECTORIO HOME

rm –r laboratorio

Page 21: Comandos básicos sis ope

CREAR LOS DIRECTORIOS DIR1, DIR2 Y DIR3 EN EL DIRECTORIO HOME. DENTRO DE

DIR1 CREAR EL DIRECTORIO DIR11. DENTRO DEL DIRECTORIODIR3 CREAR EL

DIRECTORIODIR31. DENTRO DEL DIRECTORIO DIR31, CREAR

LOSDIRECTORIOSDIR311 YDIR312

Mkdir home/dir1/dir11

Page 22: Comandos básicos sis ope

LISTAR TODOS LOS FICHEROS DEL DIRECTORIO HOME

cp /etc/motd ./home

Page 23: Comandos básicos sis ope

COPIAR MENSA JE EN DIR1, DIR2 Y DIR3

cp /etc/motd ./home/dir1

Page 24: Comandos básicos sis ope

LISTAR TODOS LOS FICHEROS DEL DIRECTORIO HOME

ls cd home/{dir1,dir2,dir3}

Page 25: Comandos básicos sis ope

COPIAR LOS ARCHIVOS DEL DIRECTORIO RC.D QUE SE ENCUENTRA EN /ETC AL DIRECTORIODIR31

cp –r /etc/rc0.d dir3/dir31/

Page 26: Comandos básicos sis ope

MOVER EL DIRECTORIODIR31 Y SUS SUBDIRECTORIOS DEBAJO DE DIR2.

Mv home/dir3/dir31 home/dir2

Page 27: Comandos básicos sis ope

MOVER EL DIRECTORIODIR31 Y SUS SUBDIRECTORIOS DEBAJO DE DIR2.

ls –R home