Está en la página 1de 3

1.

miguel@miguel-laptop:~$ date +”Son las %H horas y %M minutos”

2. miguel@miguel-laptop:~$ ncal 1950

3. miguel@miguel-laptop:~$ cal 09 1984

4. miguel@miguel-laptop:~$ sudo passwd usuario

1) Qué no podemos iniciar, porque hemos cambiado la contraseña.

5. miguel@miguel-laptop:~$ uname -a

6. miguel@miguel-laptop:~$ banner Hola

7. miguel@miguel-laptop:~$ head -7 /etc/inittab


1) miguel@miguel-laptop:~$ tail -12 /etc/inittab

8. Si

9. Creación del directorio:

1) root@miguel-laptop:~# cd /home/
2) root@miguel-laptop:/home# ls
3) CONTABI JUEGOS miguel OFFICE
4) root@miguel-laptop:/home# cd JUEGOS/
5) root@miguel-laptop:/home/JUEGOS# ls
6) root@miguel-laptop:/home/JUEGOS# cat > futbol.txt

MAGD
7) futbol
8) ^C
9) root@miguel-laptop:/home/JUEGOS# ls
10) futbol.txt
11) root@miguel-laptop:/home/JUEGOS# cat > tenis.txt
12) tenis
13) ^C
14) root@miguel-laptop:/home/JUEGOS# more tenis.txt
15) tenis
16) root@miguel-laptop:/home/JUEGOS# more futbol.txt
17) futbol
18) root@miguel-laptop:/home/JUEGOS# cd ..
19) root@miguel-laptop:/home# cd OFFICE/
20) root@miguel-laptop:/home/OFFICE# mkdir word
21) root@miguel-laptop:/home/OFFICE# mkdir excel
22) root@miguel-laptop:/home/OFFICE# cd word/
23) root@miguel-laptop:/home/OFFICE/word# cat > carta.txt
24) root@miguel-laptop:/home/OFFICE/word# cat > fax.txt
25) root@miguel-laptop:/home/OFFICE/word# ls
26) carta.txt fax.txt
27) root@miguel-laptop:/home/OFFICE/word# mkdir macros
28) root@miguel-laptop:/home/OFFICE/word# mkdir documen
29) root@miguel-laptop:/home/OFFICE/word# mv *.txt /home/OFFICE/word/documen/
30) root@miguel-laptop:/home/OFFICE/word# ls
31) documen macros
32) root@miguel-laptop:/home/OFFICE/word# cd documen/
33) root@miguel-laptop:/home/OFFICE/word/documen# ls
34) carta.txt fax.txt
35) root@miguel-laptop:/home/OFFICE/word/documen# cd ..
36) root@miguel-laptop:/home/OFFICE/word# cd ..
37) root@miguel-laptop:/home/OFFICE# cd excel/
38) root@miguel-laptop:/home/OFFICE/excel# cat > hojas.txt
39) ^C
40) root@miguel-laptop:/home/OFFICE/excel# cat > diagramas.txt
41) ^C
42) root@miguel-laptop:/home/OFFICE/excel# ls
43) diagramas.txt hojas.txt
44) root@miguel-laptop:/home/OFFICE/excel# cd
45) root@miguel-laptop:~# cd /home/
46) root@miguel-laptop:/home# ls
47) CONTABI JUEGOS miguel OFFICE
48) root@miguel-laptop:/home# cd CONTABI/
49) root@miguel-laptop:/home/CONTABI# mkdir contawin
50) root@miguel-laptop:/home/CONTABI# mkdir contaplus
51) root@miguel-laptop:/home/CONTABI# ls
52) contaplus contawin
53) root@miguel-laptop:/home/CONTABI# cd contawin/
54) root@miguel-laptop:/home/CONTABI/contawin# cat > emp1
55) ^C
56) root@miguel-laptop:/home/CONTABI/contawin# cat > emp2
57) ^C
58) root@miguel-laptop:/home/CONTABI/contawin# ls
59) emp1 emp2
60) root@miguel-laptop:/home/CONTABI/contawin# cd ..
61) root@miguel-laptop:/home/CONTABI# cd contaplus/
62) root@miguel-laptop:/home/CONTABI/contaplus# cat > 2003.txt
63) ^C

MAGD
64) root@miguel-laptop:/home/CONTABI/contaplus# cat > 2004.txt
65) ^C
66) root@miguel-laptop:/home/CONTABI/contaplus# ls
67) 2003.txt 2004.txt

10. root@miguel-laptop:~# cd /home/OFFICE/excel/hojas

11. root@miguel-laptop:~# pwd

12. root@miguel-laptop:~# cd /home/OFFICE/excel/ls

13. root@miguel-laptop:~# cd /home/OFFICE/word/documen/cartas

14. root@miguel-laptop:~# cd /home/OFFICE/word/documen/cd ..

15. root@miguel-laptop:~# cd /home/JUEGOS/futbol/

16. root@miguel-laptop:~# cd /home/JUEGOS/futbol/cd

17. root@miguel-laptop:~# cd /home/CONTABI/contawin/

18. root@miguel-laptop:~# cd /home/CONTABI/contawin/ cd emj1

19. root@miguel-laptop:~# rm -rf /home/CONTABI/contaplus/

20. root@miguel-laptop:~# cd /home/JUEGOS/


1) root@miguel-laptop:/home/JUEGOS# ls

21. root@miguel-laptop:/home/JUEGOS# ls /home/OFFICE/excel/


22. miguel@miguel-laptop:/home/OFFICE/word/documen$ sudo gedit biblio.txt

23. miguel@miguel-laptop:/home/OFFICE/word/documen$ ls
1) biblio.txt carta.txt fax.txt

24. miguel@miguel-laptop:~$ sudo cp biblio.txt /home/JUEGOS/futbol/

25. miguel@miguel-laptop:/home/OFFICE/excel/diagramas$ sudo gedit pueblos.txt

26. miguel@miguel-laptop:/home/OFFICE/excel/diagramas$ sudo mv pueblos.txt


/home/OFFICE/word/macros/

27. miguel@miguel-laptop:/home/OFFICE/excel/diagramas$ cd /home/JUEGOS/

28. root@miguel-laptop:/home/JUEGOS/futbol# gedit flores.txt

29. root@miguel-laptop:/home/JUEGOS# mv *.txt/home/OFFICE/word/macros/

30. miguel@miguel-laptop:/home/OFFICE/word/macros$ find -name b*.txt


1) ./biblio.txt

31. miguel@miguel-laptop:~$ cd /home/JUEGOS/FUTBOL/

32. miguel@miguel-laptop:~$ sudo mv /home/OFFICE/word/macros/flores.txt


/home/OFFICE/word/macros/plantas.txt

33. No existe ese directorio.

MAGD
34. miguel@miguel-laptop:~$ man cp

35. miguel@miguel-laptop:~$ sudo mv /home/OFFICE/excel/ /home/CONTABI/

36. miguel@miguel-laptop:~$ sudo cp /home/OFFICE/word/macros/*.* /home/OFFICE/

37. miguel@miguel-laptop:~$ cd /home/OFFICE/


1) miguel@miguel-laptop:/home/OFFICE$ ls

38. miguel@miguel-laptop:~$ sudo rm /home/OFFICE/b*.*

39. miguel@miguel-laptop:/home/OFFICE$ sudo gedit ciudades.txt

40. miguel@miguel-laptop:/home/OFFICE$ file ciudades.txt

41. La tenias que ver.

42. miguel@miguel-laptop:/home/OFFICE$ more ciudades.txt

43. miguel@miguel-laptop:/home/OFFICE$ sudo gedit reyes.txt

44. miguel@miguel-laptop:/home/OFFICE$ sudo gedit reinos.txt


1) root@miguel-laptop:/home/OFFICE# cat reyes.txt ciudades.txt > reinos.txt

45. root@miguel-laptop:/home/OFFICE# more reinos.txt


1) Juan Carlos Juan Carlos I Juan Carlos II Juan Carlos III Juan Carlos IV
Cordoba Sevilla Malaga Jaen Huelva

También podría gustarte