Está en la página 1de 18

218 cd ..

219 cd directorio2
220 ln -s /home/alumno25/directorio1/fichero1.txt enlace
221 enlace -l enlace
222 ln -l enlace
223 ln --l enlace
224 ln --help
225 gedit enlace
226 ln -s enlace
227 ln -s ~/directorio1 enlacecarpeta
228 ls -la
229 gedit hola.txt
230 ls
231 cp hola.txt enlacecarpeta/adios.txt
232 cd ..
233 cd
234 mkdir dir1
235 ln -s ~/dir3 enlacedir1
236 ln -s ~/dir3/ enlacedir1
237 ln -s ~/dir1 dir3 enlacedir1
238 ln -s ~/dir1 dir3/enlacedir1
239 cd dir3
240 LS -LA
241 ls -la
242 mkdir enlacedir1/nuevo1
243 cp /bin/u* enlacedir1/nuevo1
244 rm -r dir1 dir2 dir3
245 cd ..
246 rm -r dir1 dir2 dir3
247 nano
248 vi
249 sudo apt-get install
250 sudo apt-get install vim
251 vim
252 ls -l
253 chmod u=rwx, g+r, a=r prueba,txt
254 chmod u=rwx,g+r, a=r prueba.txt
255 chmod u=rwx,g+r,a=r prueba.txt
256 gedit prueba.txt
257 chmod u=rwx,g+r,a=r prueba.txt
258 ls -l prueba.txt
259 chmod u=rw,g=x,a=x prueba.txt
260 ls -l prueba.txt
261 chmod u=rw,g=x,a=rx prueba.txt
262 ls -l prueba.txt
263 chmod u+rw,g=x,a=rx prueba.txt
264 ls -l prueba.txt
265 del prueba.txt
266 rm prueba.txt
267 gedit prueba.txt
268 chmod u=rwx,g+r,a=r prueba.txt
269 ls -l prueba.txt
270 chmod u=+w,g=x,a+x prueba.txt
271 ls -l prueba.txt
272 chmod u-x,g=x,a+x prueba.txt
273 ls -l prueba.txt
274 chmod u+w,g=x,o+x prueba.txt
275 ls -l prueba.txt
276 chmod u=rw,g=x,o+x prueba.txt
277 ls -l prueba.txt
278 ls -l
279 chmod 777 pepe.txt
280 ls -l
281 chmod 555 pepe.txt
282 ls -l
283 chmod 623 pepe.txt
284 ls -l
285 find ./ -name "pepe.txt"
286 find -name "pepe.txt"
287 find -name "pepe.txt" 2>/dev/null
288 find / -name "tty*"
289 find / -name "tty*" 2>/dev/null/
290 find / -name "tty*" 2>/dev/null
291 find /dev -name "tty*" 2>/dev/null
292 find ~ -name "pepe*" type d 2>/dev/null
293 cat prueba.txt
294 cat pepe.txt
295 find ~ -name "*.txt" -exec cat "{}" ";"
296 find ~ -name "p*.txt" -exec cat "{}" ";" 2>/dev/null
297 find ~ -name "p*.txt" -exec ls -la "{}" ";" 2>/dev/null
298 find ~ -name "p*.txt" -ok cat "{}" ";" 2>/dev/null
299 find ~ -name "p*.txt" -ok cat "{}" ";"
300 mkdir dir2 dir3
301 ls -l
302 find /usr -type d
303 find /usr -type f
304 find -type f -perm -755 exec ls -l "{}"";"
305 find -type f -perm -755 -exec ls -l "{}"";"
306 find -type f -perm -755 |-exec ls -l "{}"";"
307 find /etc -user “root” -name “p*” -exec ls -l “{}” “;”
308 find /etc -name “p*” -user “root” -exec ls -l “{}” “;”
309 find /etc -user “root” -name “p*” -exec ls -l “{}” “;”
310 find / -perm -755 -exec ls -l “{}””;”
311 find / -perm -755 -exec ls -l “{}” ”;”
312 pwd
313 find / -perm -755 -exec ls -l “{}” ”;”
314 find / -perm -755 -exec ls -l "{}" ";"
315 man chmod
316 chmod ugo
317 -
318 chmod ugo
319 -
320 chmod ugo
321 -
322 chmod ugo-w dir2
323 ls -l
324 chmod 551 dir2
325 ls -l
326 cd dir2
327 mkdir dir21
328 chmod 751 dir2
329 cd ..
330 chmod 751 dir2
331 cd dir2
332 mkdir dir21
333 cd ../dir3
334 pwd
335 ls -l
336 cd ..
337 ls -l
338 cd dir3
339 mkdir dira dirb dirc dird
340 cat > uno.txt
341 ls -l
342 chmod ugo-r uno
343 chmod ugo-r uno.txt
344 ls -la
345 history
346 ls -l
347 chmod a-x a+rw dir2
348 ls -la
349 chmod 777 dir2
350 rmdir dir2
351 chmod a+rw a-x dir2
352 ls -l
353 cd dir2
354 ls
355 cd ..
356 chmod 666 dir2
357 ls -l
358 mkdir carpeta1
359 chmod 700 carpeta1
360 ls -l carpeta1
361 ls -la carpeta1
362 cd carpeta1
363 mkdir fich1 chmod 666
364 ls -la fich1
365 ls -la
366 chmod 666 fich1
367 ls -la
368 cd ..
369 cd carpeta1
370 mkdir fich2
371 chmod 644 fich2
372 ls -la
373 cd ..
374 mkdir carpeta2
375 chmod 750 carpeta2
376 ls -la
377 cd carpeta2
378 mkdir file1
379 chmod 660 file1
380 ls -la
381 mkdir file2
382 chmod 640 file2
383 ls -la
384 ls -la
385 cd ..
386 mkdir fuentes correos
387 cd fuentes
388 mkdir dir1 dir2 dir3
389 mkdir ../correos/menus
390 cd
391 ls
392 ls -la
393 tree
394 find ~/fuentes -type -d -name "*[!1]" -exec rm "{}" ";"
395 find ~/fuentes -type d -name "*[!1]" -exec rm "{}" ";"
396 find ~/fuentes -type d -name "*[!1]" -exec rm -r "{}" ";"
397 tree
398 mkdir fuentes
399 cd fuentes
400 mkdir dir1 dir2 dir3
401 find ~/fuentes/ -type d -name "*[!1]" -exec rm -r "{}" ";"
402 tree
403 cd
404 find ~/fuentes/ -type d -name "*[!1]" -exec rm -r "{}" ";"
405 tree
406 mkdir fuentes
407 cd fuentes
408 mkdir dir1 dir2 dir3
409 cd
410 tree
411 find ~/fuentes/ -type d -name "*sudo add-apt-repository
ppa:danielrichter2007/grub-customizer" -exec rm -r "{}" ";"
412 tree
413 find ~/fuentes -name "*[!1]" -exec rm -r "{}" ";"
414 tree
415 mkdir fuentes
416 cd fuentes
417 mkdir dir1 dir2 dir3
418 find ~/fuentes -name "*[!1]" -exec rm -r "{}" ";"
419 tree
420 cd
421 tree
422 mkdir fuentes
423 cd fuentes
424 mkdir dir1 dir2 dir3
425 cd
426 ls
427 rm -r fuentes/*[!1]
428 tree
429 find /dev -name "tty2"
430 find /dev -name "tty2" -exec ls -la tty2 "{}"";"
431 find /dev -name "tty2" -exec ls -la tty2 "{}" ";"
432 history
433 ls -la /dev/tt*
434 ls -l /usr/bin
435 ls -l /
436 find / -name "news.notice" -exec cat "{}" ";"
437 find / -name "news.notice" -exec cat "{}" ";" 2>/dev/null
438 find / -name "notice*" 2>errores.txt
439 cat errores.txt
440 history
441 ls -l /usr/bin > ls.txt
442 cat ls.txt
443 ls -l /usr/bin >> ls.txt
444 cat ls.txt
445 ls -l /usr/bin >> ls.txt
446 cat ls.txt
447 pwd
448 mkdir dir5
449 ls -la dir5
450 chmod a-w dir5
451 ls -la dir5
452 chmod 773 dir5
453 ls -la dir5
454 history
455 mkdir examen
456 cd examen
457 mkdir carpeta1
458 mkdir carpeta2 carpeta3
459 echo hola pepe carpeta1/fichero1.txt
460 echo hola pepe carpeta1/fichero2.txt
461 echo hola pepe carpeta2/fichero3.txt
462 echo hola pepe carpeta2/fichero4.txt
463 echo hola pepe carpeta3/fichero5.txt
464 echo hola pepe carpeta3/fichero6.txt
465 tree
466 echo hola pepe ./carpeta1/fichero6.txt
467 tree
468 ls -ls
469 ls -la
470 echo hola pepe fichero1.txt
471 history
472 gedit carpeta1/fichero1.txt
473 gedit carpeta1/fichero2.txt
474 gedit carpeta2/fichero3.txt
475 gedit carpeta2/fichero4.txt
476 gedit carpeta3/fichero5.txt
477 gedit carpeta3/fichero6.txt
478 cp carpeta1/ carpeta3
479 cp -r carpeta1/ carpeta3
480 cp -r carpeta1 carpeta3
481 mv carpeta2/* carpeta1
482 cp -r carpeta1/* carpeta3
483 cd
484 find /home/alumno25 -user alumno25 -type f -name "f*" -exec ls -la "{}" ";"
485 find /home/alumno25 -type f -name "*.txt" -exec cat "{}" ";"
486 find /home -name "fi*" -exec cp -i "{}" examen/carpeta2 ";"
487 find /home/ -name "fi*" -exec cp -i "{}" examen/carpeta2 ";"
488 history
489 find / -type d -user root >/examen/listado.txt 2>/examen/errores.txt
490 find / -type d -user root >/examen/listado.txt
491 find / -type d -user root >examen/listado.txt
492 find / -type d -user root > examen/listado.txt 2> examen/errores.txt
493 find /etc -type -f -name "*.conf" > examen/contenido.txt 2>/dev/null
494 find /etc -type f -name "*.conf" > examen/contenido.txt 2>/dev/null
495 ls -la
496 ls -la examen
497 chmod examen/carpeta3 u-x g-wx o-r
498 cd examen
499 chmod carpeta3 u-x g-wx o-r
500 history
501 chmod u-x g-wx o-r carpeta3
502 ls -la
503 chmod u-x,g-wx,o-r carpeta3
504 ls -la
505 find /home/alumno25/examen -type f -name "*1.txt" -exec chmod a=rw "{}" ";"
2>/dev/null
506 ls -la
507 find /home/alumno25/examen -type f -name "*1.txt" -exec chmod a=rw "{}" ";"
2>/dev/null
508 ls -la
509 history
510 date +'hoy estamos a %a, dia %d de %m de %G y son las %r'
511 man date
512 date +'hoy estamos a %A, dia %d de %B de %Y y son las %H:%M'
513 man date
514 date +'hoy estamos a %A, dia %d de %b de %Y y son las %H:%M'
515 cd
516 mkdir test
517 cd tes
518 cd test
519 mkdir dir1 dir2 dir3
520 gedit dir1/mama.txt
521 cp -r /dir1/* dir2
522 cp -r dir1/* dir2
523 date +'hoy estamos a %A, dia %d de %b de %Y y son las %H:%M'
524 mv dir2/* dir3
525 history
526 ls
527 hola 51 > probando.txt
528 echo hola 51 > probando.txt
529 cat probando.txt | wc -l
530 cat probando.txt | wc -l | wc -l
531 echo 1 > dato.txt
532 cat probando.txt | wc -l > dato.txt
533 cat dato.txt
534 cat probando.txt
535 who
536 who | wc -l
537 who | wc -l > conectados.txt
538 cat conectados.txt
539 cat probando.txt | sort
540 cat /etc/passwd
541 cat /etc/passwd | tail
542 cat /etc/passwd | tail -5
543 cat /etc/passwd | head -2
544 cat /etc/passwd | wc -w
545 cat /etc/passwd | wc -l
546 cat /etc/passwd | wc -c
547 history | grep "find"
548 history | grep "gedit"| wc -l
549 history | grep "clear" ! wc -l
550 history | grep "clear"| wc -l
551 history | grep "Clear"
552 history | grep -i "Clear"
553 history | grep -n "Clear"
554 cat coche.txt | grep "^coche"
555 cat coche.txt | grep "coche$"
556 gedit coche.txt
557 cat coche.txt | grep "coche$"
558 cat coche.txt | grep "^coche"
559 cat coche.txt | grep -i "coche"
560 cat coche.txt | grep -i ^[^coche]
561 cat /etc/passwd | grep -i "alumno25"
562 cat /etc/passwd | grep -ic "alumno25"
563 cat /etc/passwd | head -8
564 cat /etc/passwd | head -8 | grep -ic "alumno25"
565 who
566 who | tr -s " "
567 who | tr -s " " "*"
568 who | tr -s "t"
569 who | tr -d " "
570 gedit nombres.txt
571 cat nombres.txt
572 cat nombres.txt | sort
573 cat nombres.txt | sort -t ":" -k3,3
574 gedit nombres.txt
575 cat nombres.txt | sort -t ":" -k 3,3
576 cat nombres.txt | sort -t ":" -k 3,3 -k2,2
577 cat nombres.txt | sort -rt ":" -k2,2
578 gedit
579 cat numeros.txt | sort
580 cat numeros.txt | sort -n
581 cat numeros.txt | sort -g
582 gedit nombres.txt
583 cat nombres.txt | sort -t ":" -k 3,3
584 cat nombres.txt | sort -nt ":" -k 3,3
585 cat nombres.txt | sort -nrt ":" -k 3,3
586 cat nombres.txt | sort -nrt ":" -k 3,3 | grep -i "david"
587 cat nombres.txt | sort -nrt ":" -k 3,3 | grep -ic "david"
588 cat nombres.txt | sort -nrt ":" -k 3,3 | grep -ic "david" | wc -l
589 cat nombres.txt | sort -nrt ":" -k 3,3> ordenado.txt | grep -i "david" | wc
-l
590 cat ordenado.txt
591 cat nombres.txt | sort -nrt ":" -k 3,3 | grep -i "david" | tee ordenado.txt
| wc -l
592 cat ordenado.txt
593 cat nombres.txt | sort -nrt ":" -k 3,3 | grep -i "david" | tee ordenado.txt
| grep -c "david"
594 cat ordenado.txt
595 cat nombres.txt | tr -s ":" "*"
596 cat nombres.txt | tr -s ":" "*" | sort -t "*" -k 3,3
597 cat nombres.txt | tr -s ":" "*" | sort -t "*" -kn 3,3
598 cat nombres.txt | tr -s ":" "*" | sort -t "*" -n 3,3
599 who | tr -s " " | cut -d" " -f3
600 cat paises.txt
601 cat paises.txt | sort -t":" -k4,4 -k1,1 -k2,2
602 history > history.txt
603 cat paises.txt | grep -i "europa" | cut -d":" -f1-3
604 cat paises.txt | grep -i "castellano" | sort -t":" -k1,1 -k2,2
605 cat paises.txt | grep -i "ingles" |tee datos.txt| sort -t":" -k2,2
606 cat datos.txt
607 cat paises.txt | grep -i "ingles" |tee datos.txt| sort -t":" -k2,2 >
resultado.txt
608 cat resultato.txt
609 cat paises.txt | grep -i "ingles" |tee datos.txt| sort -t":" -k2,2
>resultado.txt
610 cat resultato.txt
611 cat paises.txt | grep -i "ingles" |tee datos.txt| sort -t":" -k2,2
>resultado.txt
612 cat resultato.txt
613 cat paises.txt | head -5 | cut -d”:” f2,4
614 cut --help
615 cat paises.txt | head -5 | cut -d”:” f2-4
616 cat paises.txt | head -5 | cut -d”:” -f2,4
617 cat paises.txt | head -5 | cut -d”:” -f2-4
618 cat paises.txt | head -5 | cut -d":" -f2,4
619 cat paises.txt | tail -n+3 | cut -d”:” -f3
620 cat paises.txt | tail -n+3 | cut -d":" -f3
621 hisory
622 history
623 cat paises.txt | tail -n+3 | cut -d":" -f3
624 sudo groupadd alumnos
625 su - root
626 su root
627 sudo groupdel alumnos
628 sudo groupadd manolo
629 sudo useradd -g manolo -m manolo
630 ls /home
631 cat /etc/passwd
632 sudo useradd -g manolo manolito
633 ls /home
634 cat /etc/passwd
635 su - manolo
636 passwd manolo
637 sudo passwd manolo
638 su -manolo
639 su - manolo
640 sudo passwd manolito
641 su - manolito
642 su manolito
643 sudo useradd -mU juanito
644 cat /etc/passwd
645 sudo passwd juanito
646 su - juanito
647 sudo useradd -Um carmen
648 su - juanito
649 sudo gedit /etc/sudoers
650 sudo userdel juanito
651 cat /etc/passwd
652 ls /home
653 sudo userdel -r carmen
654 ls /home
655 cat /etc/passwd
656 sudo adduser jorge
657 ip r
658 cd .ssh
659 ls
660 gedit id_rsa.pub
661 cd ..
662 /etc/init.d/ssh restart
663 ip r
664 ssh 192.168.1.126
665 ssh 192.168.1.121
666 ssh 192.168.1.213
667 ip r
668 cd .ssh
669 ls
670 cd ..
671 cd /home/alumno26
672 ls -la
673 cd .ssh
674 ls
675 sudo cp /home/alumno25/Escritorio/alumno26 authorized_keys
676 /etc/init.d/ssh restart
677 cd
678 clear
679 sudo apt-get install ssh
680 ssh-keygen
681 ls -la
682 cd .ssh
683 ls
684 cat id_rsa
685 cat id_rsa.pub
686 sudo adduser-Um alumno26
687 sudo useradd -mU alumno26
688 cd ..
689 sudo useradd -mU alumno26
690 cd .ssh
691 ls
692 cd ..
693 sudo passwd alumno26
694 cd ..
695 cd alumno26
696 mkdir .ssh
697 sudo mkdir .ssh
698 gedit authorized_keys
699 sudo gedit authorized_keys
700 ssh 192.168.1.168
701 ssh 192.168.1.48
702 sudo gedit /etc/ssh/sshd_config
703 echo 3*5
704 echo 3*5 | bc
705 echo hola pepe > hola.txt
706 scp hola.txt 192.168.1.48:./
707 echo hola pepe > hola1.txt
708 scp hola1.txt 192.168.1.48:./
709 scp hola1.txt 192.168.1.48:./fichero
710 scp 192.168.1.48:../profesor/hellous.txt ./
711 echo hola pepe > fichero1.txt
712 echo hola mama > fichero2.txt
713 cmp fichero1.txt fichero2.txt
714 echo $?
715 echo hola pepe > fichero2.txt
716 cmp fichero1.txt fichero2.txt
717 echo $?
718 who
719 ps
720 ps -aux
721 sleep 5
722 sleep 5; echo adios; sleep 5; echo noooooo
723 uname
724 uname -o
725 uname -s
726 uname -m
727 uname -a
728 ssh 192.168.1.100
729 who
730 ip r
731 who
732 ssh 192.168.1.130
733 ssh 192.168.1.230
734 ssh 192.168.1.100
735 scp 192.168.1.100:./prueba.txt ./
736 scp 192.168.1.100:home/prueba.txt ./
737 scp 192.168.1.100:../profesor/prueba.txt ./
738 scp prueba.txt 192.168.1.230:./
739 echo #!/bin/bash
740 gedit prueba.txt
741 ssh 192.168.1.100 "echo '5*8' | bc"
742 date | ssh 192.168.1.100 "cat > fichero.txt"
743 date | ssh 192.168.1.100 "cat > fecha.txt"
744 gedit probando.txt
745 mv #!/bin/bash
746 mv probando.txt probando.sh
747 ls -la
748 chmod probando.sh +x
749 chmod --help
750 chmod +x probando.sh
751 ls -la
752 ssh probando.sh
753 probando.sh
754 sh probando.sh
755 gedit programa1.sh
756 sh programa1.sh > salida1.txt | cat salida1.txt
757 cat salida1.txt
758 sh programa1.sh > salida1.txt | scp salida1.txt 192.168.1.100:./
759 cal -1
760 cal -2
761 cal 12
762 cal -m 12
763 cal -m 12 > diciembre.txt
764 find / -type d -name "cron.daily" -exec >crondaily.txt "{}" ";"
765 cat crondaily.txt
766 find / -type d -name "cron.daily"
767 history
768 ssh 192.168.1.100
769 history
770 find / -type d -name "cron.daily" -exec >crondaily.txt "{}" ";"
771 history
772 find / -type d -name "cron.daily" 2>/dev/null
773 sudo apt-cache search "spanish fortune database"
774 sudo apt-get install fortunes-es
775 /usr/games/fortune
776 sudo gedit /etc/profile
777 cmp fichero1.txt fichero2.txt
778 echo helodfvd c >fichero3.txt
779 cmp fichero1.txt fichero3.txt | wc -l
780 cmp fichero1.txt fichero2.txt | wc -l
781 gedit > sleep5.txt
782 gedit sleep5.txt
783 ./sleep5.txt
784 sudo ./sleep5.txt
785 sudo sleep5.txt
786 gedit sleep5.txt
787 sudo sleep5.sh
788 sudo probando.sh
789 pwd
790 ls
791 bash sleep5.sh
792 cat /etc/group | head -4
793 echo “Hooooola” | tr “o” “a”
794 echo “Hooooola” | tr -s “o”
795 cat coche.txt | grep "^coche"
796 man cal
797 ssh 192.168.1.118
798 cat coche.txt
799 cat coche.txt | grep -i "^coche"
800 history
801 mkdir parcial2ev
802 cd parcial2ev
803 scp 192.168.1.118:../profesor/examen.txt ./parcial2ev
804 scp 192.168.1.118:../profesor/examen.txt ./
805 man cal
806 cal -d 2012-03 -1
807 cal -d 2012-03 -1 >calmar12.txt | scp calmar12.txt 192.168.1.118:./
808 echo '3*5'>resulsuma.txt
809 cat resulsuma.txt
810 ssh 192.168.1.118 "echo '3*5' | bc" >resulsuma.txt
811 ssh 192.168.1.118 "echo '3*5' | bc"| cat resulsuma.txt
812 ssh 192.168.1.118 "echo '3*5' | bc"| >resulsuma.txt
813 cat /etc/passwd |grep "home" |wc -l
814 gedit datos.txt
815 cat datos.txt | tr “,” “*” | tee >nombres.txt
816 cat nombres.txt
817 cat datoszaragoza.txt
818 cat datos.txt | sort -t "*" -k3,3
819 cat datos.txt | sort -t "," -k3,3
820 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep "^m" |cut -d"," -f2
>edades.txt
821 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep -i [^m?+] |cut
-d"," -f2 >edades.txt
822 cat coche.txt | grep "^coche"
823 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep -i "^m?+" |cut
-d"," -f2 >edades.txt
824 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep -i "^m" |cut -d","
-f2 >edades.txt
825 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep -i "^m"
826 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep -i "^m" > test.txt
827 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep -i ^^^^
828 cat datos.txt | sort -t "," -k3,3 >intermedio.txt | grep -i [^m] >>text.txt
829 cat coche.txt | grep -i "^coche"
830 cat datos.txt | sort -t "," -k3,3 |tee intermedio.txt | grep -i "^m" |cut
-d"," -f2 > edades.txt
831 ssh 192.168.1.118 "echo '3*5' | bc"| >resulsuma.txt
832 ssh 192.168.1.118 "echo '3*5' | bc | >resulsuma.txt”
833 ssh 192.168.1.118 "echo '3*5' | bc | >resulsuma.txt”
834 ssh 192.168.1.118 "echo '3*5' | bc | tee resulsuma.txt”
835 ssh 192.168.1.118 "echo '3*5' | bc"
836 ssh 192.168.1.118 "echo '3*5' | bc" > resulsuma.txt
837 ssh 192.168.1.118 "echo '3*5' | bc| tee resulsuma.txt"
838 ssh 192.168.1.118 "echo '3*5' | bc| tee resulsuma1.txt"
839 cat nombres.txt | grep -i "zaragoza" | cut -d":" -f1-2 >datoszaragoza.txt
840 cat nombres.txt | grep -i "zaragoza" | cut -d"*" -f1-2 >datoszaragoza.txt
841 scp Vo_Thi_Quynh_Yen.doc 192.168.1.118:../profesor/examen/
842 cat nombres.txt | grep -i "zaragoza" | cut -d":" -f1-2 >datoszaragoza.txt
843 cat nombres.txt | grep -i "zaragoza" | cut -d"*" -f1-2 >datoszaragoza.txt
844 scp Vo_Thi_Quynh_Yen.doc 192.168.1.118:../profesor/examen/
845 cat nombres.txt | grep -i "zaragoza" | cut -d"*" -f1-2 >datoszaragoza.txt
846 mkdir descomprimidos
847 mkdir comprimir
848 tar -cvf comprimidos/mihome.tar /home/alumno25
849 tar -cvf comprimir/mihome.tar /home/alumno25
850 cd comprimir
851 ls
852 tar -tf mihome.tar
853 cd ..
854 tar -xf comprimir/mihome.tar -C descomprimidos
855 cd comprimidos
856 cd descomprimidos
857 rm -r home/
858 ls
859 cd ..
860 cd comprimir
861 ls
862 rm -r mihome.tar
863 ls
864 cd ..
865 ls
866 tar -cf comprimir/mihome.tar ./
867 cd comprimir
868 ls
869 tar -tf mihome.tar
870 cd comprimidos
871 tar -cv /tmp| gzip > ficherocomprimido.tar.gz
872 ls
873 tar -tf ficherocomprimido.tar.gz
874 tar -czvf ficherocomprimido.tar.gz tmp/
875 ls
876 tar -xzvf ficherocomprimido1.tar.gz /tmp
877 ls
878 tar -xzf ficherocomprimido.tar.gz -C ../descomprimidos
879 cd ../descomprimidos
880 ls
881 tar -czvf ficherocomprimido3.tar.gz /tmp
882 ls
883 rm -r ficherocomprimido3.tar.gz
884 cd ..
885 cd comprimir
886 tar -xf ficherocompromido1.targz -C ../descomprimidos/
887 cd backup
888 ls
889 mkdir pruebas
890 mkdir backup
891 cp /etc/profile backup/profile.bk
892 sudo cp -r /etc ~/backup/etc.backup
893 sudo tar -cf backup/usr-bin.tar /usr/bin
894 tar -tf backup/usr-bin.tar
895 cat usr-bin.tar | tar -t
896 cat backup/usr-bin.tar | tar -t
897 gzip backup/usr-bin.tar
898 tar -xzf backup/usr-bin.tar.gz -C backup/pruebas/
899 tar -cjf ~/backup/var-log.tbz /var/log/
900 tar -tf ~/backup/var-log.tbz > lista-var-log.txt
901 tar -xjf ~/backup/var-log.tbz -C ~/backup/pruebas/
902 cd backup/pruebas
903 ls
904 cd var
905 ls
906 cd log
907 ls
908 cd ~
909 scp backup/var-log.tbz 192.168.1.17:./
910 tar -czf ~/backup/var.log.tgz /var/log
911 cd backup
912 ls
913 cd
914 tar -xzf ~/backup/var-log.tgz "var/log/alternatives.log" -C ~/backup/
915 tar -xzf ~/backup/var-log.tgz "var/log/alternatives.log.5.gz" -C ~/backup/
916 cd var
917 tar -xzf ~/backup/var-log.tgz "var/log/alternatives.log.4.gz" -C ~/backup/
918 tar -xzf ~/backup/var.log.tgz "var/log/alternatives.log.4.gz" -C ~/backup/
919 cd backup
920 ls
921 tar var.log.tgz
922 cat var.log.tgz
923 history
924 cat var.log.tgz | tar -t
925 gedit ifthenelse.sh
926 bash ifthenelse.sh
927 gedit ifthenelse.sh
928 bash ifthenelse.sh
929 gedit ifthenelse.sh
930 bash ifthenelse.sh
931 gedit ifthenelse.sh
932 bash ifthenelse.sh
933 gedit ifthenelse.sh
934 bash ifthenelse.sh
935 gedit ifthenelse.sh
936 bash ifthenelse.sh
937 gedit ifthenelse.sh
938 bash ifthenelse.sh
939 gedit ifthenelse.sh
940 bash ifthenelse.sh
941 gedit ifthenelse.sh
942 bash ifthenelse.sh
943 gedit ifthenelse.sh
944 bash ifthenelse.sh
945 mkdir shcommands
946 cd shcommands
947 gedit ejercicio-01.sh
948 bash ejercicio-01.sh
949 gedit ejercicio-01.sh
950 bash ejercicio-01.sh
951 gedit ejercicio-01.sh
952 bash ejercicio-01.sh
953 gedit ejercicio-01.sh
954 bash ejercicio-01.sh
955 gedit ejercicio-02.sh
956 bash ejercicio-02.sh
957 gedit ejercicio-02.sh
958 bash ejercicio-02.sh
959 gedit ejercicio-03.sh
960 bash ejercicio-03.sh
961 gedit ejercicio-04.sh
962 bash ejercicio-04.sh
963 gedit ejercicio-04.sh
964 bash ejercicio-04.sh
965 gedit ejercicio-04.sh
966 bash ejercicio-04.sh
967 gedit ejercicio-04.sh
968 bash ejercicio-04.sh
969 gedit ejercicio-04.sh
970 bash ejercicio-04.sh
971 gedit ejercicio-05.sh
972 bash ejercicio-05.sh
973 gedit ejercicio-05.sh
974 bash ejercicio-05.sh
975 gedit ejercicio-05.sh
976 bash ejercicio-05.sh
977 gedit ejercicio-05.sh
978 bash ejercicio-05.sh
979 gedit ejercicio-05.sh
980 gedit while.sh
981 bash while.sh
982 gedit while.sh
983 bash while.sh
984 gedit while.sh
985 bash while.sh
986 gedit while.sh
987 bash while.sh
988 gedit while.sh
989 bash while.sh
990 gedit while.sh
991 bash while.sh
992 cat nombres.txt
993 linea ="parco:lopez:202"
994 gedit while.sh
995 bash while.sh
996 gedit while.sh
997 bash while.sh
998 gedit while.sh
999 bash while.sh
1000 gedit while.sh
1001 bash while.sh
1002 gedit while.sh
1003 bash while.sh
1004 gedit while.sh
1005 for i in $(seq 1 20); do echo "Estoy en la iteracion $i"; done
1006 for i in $(seq 1 20); do echo "bla bla bla $i"; echo "ghola pepe"; done
1007 mkdir whileforuntil
1008 cd whileforuntil
1009 gedit ej-bucles-01.sh
1010 bash ej-buckles-01.sh
1011 bash ej-bucles-01.sh
1012 gedit ej-bucles-01.sh
1013 bash ej-bucles-01.sh
1014 gedit ej-bucles-01.sh
1015 bash ej-bucles-01.sh
1016 gedit ej-bucles-01.sh
1017 bash ej-bucles-01.sh
1018 gedit ej-bucles-01.sh
1019 bash ej-bucles-01.sh
1020 gedit ej-bucles-01.sh
1021 bash ej-bucles-01.sh
1022 gedit ej-bucles-01.sh
1023 bash ej-bucles-01.sh
1024 gedit ej-bucles-01.sh
1025 bash ej-bucles-01.sh
1026 gedit ej-bucles-01.sh
1027 bash ej-bucles-01.sh
1028 gedit ej-bucles-01.sh
1029 bash ej-bucles-01.sh
1030 gedit ej-bucles-01.sh
1031 bash ej-bucles-01.sh
1032 gedit ej-bucles-01.sh
1033 bash ej-bucles-01.sh
1034 gedit ej-bucles-01.sh
1035 gedit ej-bucles-02.sh
1036 bash ej-bucles-02.sh
1037 gedit ej-bucles-02.sh
1038 bash ej-bucles-02.sh
1039 gedit ej-bucles-02.sh
1040 bash ej-bucles-02.sh
1041 gedit ej-bucles-02.sh
1042 bash ej-bucles-02.sh
1043 history
1044 gedit ej-bucles-03.sh
1045 bash ej-bucles-03.sh
1046 gedit ej-bucles-03.sh
1047 bash ej-bucles-03.sh
1048 gedit ej-bucles-04.sh
1049 bash ej-bucles-04.sh
1050 gedit ej-bucles-04.sh
1051 bash ej-bucles-04.sh
1052 gedit ej-bucles-04.sh
1053 bash ej-bucles-04.sh
1054 gedit ej-bucles-04.sh
1055 bash ej-bucles-04.sh
1056 gedit ej-bucles-04.sh
1057 bash ej-bucles-04.sh
1058 gedit ej-bucles-04.sh
1059 bash ej-bucles-04.sh
1060 gedit ej-bucles-04.sh
1061 bash ej-bucles-04.sh
1062 gedit ej-bucles-04.sh
1063 bash ej-bucles-04.sh
1064 gedit ej-bucles-05.sh
1065 bash ej-bucles-05.sh
1066 gedit ej-bucles-05.sh
1067 gedit ej-bucles-06.sh
1068 bash ej-bucles-06.sh
1069 gedit ej-bucles-06.sh
1070 bash ej-bucles-06.sh
1071 gedit ej-bucles-06.sh
1072 bash ej-bucles-06.sh
1073 gedit ej-bucles-06.sh
1074 bash ej-bucles-06.sh
1075 gedit ej-bucles-06.sh
1076 bash ej-bucles-06.sh
1077 group alumno25
1078 group @alumno25
1079 ssh 192.168.1.1
1080 history
1081 history > allcomands.txt
1082 cat /etc/passwd
1083 ps
1084 man ps
1085 man cal
1086 cal 03 2017
1087 cal 02 2016
1088 cal 2 2016
1089 mkdir eval2
1090 cd eval2
1091 cat /etc/passwd | cut -d":" -f1 >usuarios.txt
1092 gedit ejer2.sh
1093 bash ejer2.sh
1094 gedit ejer2.sh
1095 bash ejer2.sh
1096 gedit ejer2.sh
1097 bash ejer2.sh
1098 gedit ejer2.sh
1099 bash ejer2.sh
1100 gedit ejer2.sh
1101 bash ejer2.sh
1102 gedit ejer2.sh
1103 gedit num.txt
1104 gedit ejer3.sh
1105 bashejer3.sh
1106 bashe jer3.sh
1107 bashe ejer3.sh
1108 bash ejer3.sh
1109 gedit ejer3.sh
1110 bash ejer3.sh
1111 gedit ejer3.sh
1112 bash ejer3.sh
1113 gedit ejer3.sh
1114 bash ejer3.sh
1115 gedit ejer3.sh
1116 bash ejer3.sh
1117 gedit ejer3.sh
1118 bash ejer3.sh
1119 gedit ejer3.sh
1120 tar -czf comprimidos.tgz ./*.txt
1121 mkdir descomprimir
1122 gedit ejer5.sh
1123 bash ejer5.sh
1124 gedit ejer5.sh
1125 bash ejer5.sh
1126 gedit ejer5.sh
1127 bash ejer5.sh
1128 gedit ejer5.sh
1129 gedit productos.txt
1130 gedit ejer6.sh
1131 bash ejer6.sh
1132 gedit ejer6.sh
1133 bash ejer6.sh
1134 gedit ejer6.sh
1135 gedit nombres.txt
1136 gedit ejer7.sh
1137 bash ejer7.sh
1138 gedit ejer7.sh
1139 bash ejer7.sh
1140 gedit ejer7.sh
1141 bash ejer7.sh
1142 gedit ejer7.sh
1143 bash ejer7.sh
1144 gedit ejer7.sh
1145 bash ejer7.sh
1146 gedit ejer8.sh
1147 bash ejer2.sh
1148 gedit ejer8.sh
1149 bash ejer8.sh
1150 gedit ejer8.sh
1151 bash ejer8.sh
1152 gedit ejer8.sh
1153 bash ejer8.sh
1154 ssh 192.168.1.32
1155 gedit ejer8.sh
1156 gedit ejer2.sh
1157 bash ejer2.sh
1158 gedit ejer2.sh
1159 gedit ejer5.sh
1160 bash ejer5.sh
1161 gedit ejer5.sh
1162 bash ejer5.sh
1163 gedit ejer5.sh
1164 bash ejer5.sh
1165 gedit ejer5.sh
1166 bash ejer5.sh
1167 bash ejer6.sh
1168 bash ejer7.sh
1169 gedit ejer7.sh
1170 bash ejer7.sh
1171 gedit ejer7.sh
1172 bash ejer7.sh
1173 gedit ejer7.sh
1174 bash ejer7.sh
1175 history
1176 gedit buckles.sh
1177 bash buckles.sh
1178 gedit buckles.sh
1179 bash buckles.sh
1180 gedit buckles.sh
1181 bash buckles.sh
1182 gedit buckles.sh
1183 bash buckles.sh
1184 gedit buckles.sh
1185 bash buckles.sh
1186 gedit buckles.sh
1187 bash buckles.sh
1188 gedit buckles.sh
1189 bash buckles.sh
1190 gedit buckles.sh
1191 bash buckles.sh
1192 gedit buckles.sh
1193 bash buckles.sh
1194 gedit buckles.sh
1195 bash buckles.sh
1196 gedit buckles.sh
1197 bash buckles.sh
1198 gedit buckles.sh
1199 bash buckles.sh
1200 gedit buckles.sh
1201 bash buckles.sh
1202 gedit buckles.sh
1203 bash buckles.sh
1204 gedit buckles.sh
1205 bash buckles.sh
1206 gedit buckles.sh
1207 bash buckles.sh
1208 gedit buckles.sh
1209 echo date %A
1210 echo “pepe” | bash script.sh
1211 echo “pepe” | bash probando.sh
1212 usuario=$(cat /dev/stdin)
1213 echo $(usuario)
1214 usuario=$(cat /dev/stdin)
1215 echo "$usuario"
1216 history
1217 history >history.txt