1.
¿Puede ¿Puede cobrar cobrar una una empresa empresa por por mantene mantenerr y dar dar soporte soporte de un proyect proyecto o GNU/Linux? Justifica tu respuesta. Puede cobrar por reparar los errores que puedan surgir y demás, pero pero no por linux en si, ya que es de licencia gratuita
2.
¿En qué direct directorio orio se encuentra encuentran n los ficheros ficheros de configura configuración ción del del sistema sistema?? etc/
3.
¿Qué diferencia diferencia existe existe entre los progra programas mas que que hay hay en /sbin /sbin y los que que hay en /usr/bin? Són directorios raíz bin/ para el navegador y sbin/ para los .exe
4.
¿Qué ¿Qué es el shel shell? l? Es el interprete de ordenes.
5.
¿Qué combinaci combinación ón de teclas teclas se usaría usaría para para pasar pasar del entorn entorno o gráfico gráfico a la conso consola la número 4? ¿Y para volver de nuevo al entorno gráfico? Control+alt+F1 y para recuperar control+alt+F7
6.
¿Se puede puede traba trabajar jar con el shell shell (intérprete (intérprete de comando comandos) s) desde desde el entorno entorno gráfico gráfico?, ?, ¿cómo? Con un interprete de ordenes como terminal.
7.
Listar Listar todos todos los archivos archivos del directorio directorio bin. Con cd /user/bin voy a la carpeta /bin y desde aí con ls -a listo todos los archivos (menos ocultos)de la carpeta. -rwxr-xr-x 1 root root 13724 2008-10-30 05:11 slabtop -rwxr-xr-x 1 root root 13824 2010-04-17 02:07 sldtoppm -rwxr-xr-x 1 root root 5053 2008-05-07 16:01 slib lrwxrwxrwx 1 root root 3 2009-10-02 15:17 slogin -> ssh -rwxr-xr-x 1 root root 37148 2007-08-14 20:44 smartdimmer -rwxr-xr-x 1 root root 2409224 2010-03-22 22:22 smbcacls -rwxr-xr-x 1 root root 3032136 2010-03-22 22:22 smbclient -rwxr-xr-x 1 root root 2409192 2010-03-22 22:22 smbcquotas -rwxr-xr-x 1 root root 3067876 2010-03-22 22:22 smbget lrwxrwxrwx 1 root root 17 2010-09-16 19:39 smbmount -> /sbin/mount.smbfs -rwxr-xr-x 1 root root 2379656 2010-03-22 22:22 smbpasswd -rwxr-xr-x 1 root root 1001960 2010-03-22 22:22 smbspool -rwxr-xr-x 1 root root 4910 2010-03-22 22:21 smbtar -rwxr-xr-x 1 root root 2913028 2010-03-22 22:22 smbtree lrwxrwxrwx 1 root root 17 2010-09-16 19:39 smbumount -> /sbin/umount.cifs -rwxr-xr-x 1 root root 15876 2007-11-07 20:04 smproxy -rwxr-xr-x 1 root root 5432 2008-07-24 10:21 sndinfo lrwxrwxrwx 1 root root 5 2009-10-02 15:17 snice -> skill -rwxr-xr-x 1 root root 5452 2008-05-26 18:38 sockdown -rwxr-xr-x 1 root root 22076 2008-05-03 04:43 soelim lrwxrwxrwx 1 root root 33 2009-10-02 15:17 soffice -> ../lib/openoffice/program/soffice lrwxrwxrwx 1 root root 20 2010-09-16 19:42 software-properties-gtk ->
• • • • • • • • • • • • • • • • • • • • •
•
• • • • • • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • • • • • •
/usr/bin/lliurex-apt -rwxr-xr-x 1 root root 3742 2008-10-30 15:56 software-properties-gtk.real -rwxr-xr-x 1 root root 2992 2008-05-20 17:27 solfege -rwxr-xr-x 1 root root 71376 2008-06-27 02:31 sort -rwxr-xr-x 1 root root 163880 2008-09-22 23:34 sound-juicer -rwxr-xr-x 1 root root 34904 2008-08-05 17:05 sox -rwxr-xr-x 1 root root 9564 2010-04-17 02:07 spctoppm -rwxr-xr-x 1 root root 22096 2008-11-26 08:27 speaker-test -rwxr-xr-x 1 root root 18132 2008-10-17 17:12 speechd-synthes speechd-synthesis-driver is-driver -rwxr-xr-x 1 root root 17452 2009-06-26 21:47 splain -rwxr-xr-x 1 root root 34348 2008-06-27 02:31 split -rwxr-xr-x 1 root root 5472 2008-09-25 11:12 splitfont -rwxr-xr-x 1 root root 9648 2008-07-04 13:21 sponge -rwxr-xr-x 1 root root 22016 2009-01-29 11:23 sprof -rwxr-xr-x 1 root root 5456 2010-04-17 02:07 sputoppm -rwxr-xr-x 1 root root 3640 2007-05-18 11:49 sq -rwxr-xr-x 1 root root 24080 2007-11-02 01:35 sqlite -rwxr-xr-x 1 root root 36228 2009-01-27 12:33 sqlite3 -rwxr-xr-x 1 root root 188 2008-07-19 08:34 squiggle -rwxr-xr-x 1 root root 5432 2008-07-24 10:21 srconv -rwxr-xr-x 1 root root 318812 2008-10-13 20:50 ssh -rwxr-xr-x 1 root root 100940 2008-10-13 20:50 ssh-add -rwxr-sr-x 1 root ssh 79860 2008-10-13 20:50 ssh-agent -rwxr-xr-x 1 root root 1452 2008-10-13 20:50 ssh-argv0 lrwxrwxrwx 1 root root 29 2009-10-02 15:17 ssh-askpass -> /etc/alternatives/ssh-askpass -rwxr-xr-x 1 root root 1308 2008-10-13 20:50 ssh-copy-id -rwxr-xr-x 1 root root 125648 2008-10-13 20:50 ssh-keygen -rwxr-xr-x 1 root root 170880 2008-10-13 20:50 ssh-keyscan -rwxr-xr-x 1 root root 88592 2008-10-13 20:50 ssh-vulnkey -rwxr-xr-x 1 root root 58888 2009-08-25 02:21 ssltap -rwxr-xr-x 1 root root 9588 2010-04-17 02:07 st4topgm -rwxr-xr-x 1 root root 734 2008-06-13 17:56 startlxde -rwxr-xr-x 1 root root 4473 2008-05-29 14:53 startx -rwxr-xr-x 1 root root 46652 2008-06-27 02:31 stat -rwxr-xr-x 1 root root 195996 2008-05-27 11:50 strace -rwxr-xr-x 1 root root 5460 2009-06-05 00:49 stream -rwxr-xr-x 1 root root 13756 2008-10-13 20:04 strfile -rwxr-xr-x 1 root root 26360 2008-10-09 16:33 strings -rwxr-xr-x 1 root root 191964 2008-10-09 16:33 strip lrwxrwxrwx 1 root root 8 2009-10-02 15:17 stunnel -> stunnel3 -rwxr-xr-x 1 root root 2797 2008-05-28 09:53 stunnel3 -rwxr-xr-x 1 root root 97068 2008-05-28 09:53 stunnel4 -rwsr-xr-x 2 root root 115136 2010-04-13 19:40 sudo -rwsr-xr-x 2 root root 115136 2010-04-13 19:40 sudoedit -rwxr-xr-x 1 root root 34344 2008-06-27 02:31 sum -rwxr-xr-x 1 root root 155580 2008-07-02 23:03 sunclock -rwxr-xr-x 1 root root 3023 2008-08-15 13:52 su-to-root
• • • • • • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • • • • • •
/usr/bin/lliurex-apt -rwxr-xr-x 1 root root 3742 2008-10-30 15:56 software-properties-gtk.real -rwxr-xr-x 1 root root 2992 2008-05-20 17:27 solfege -rwxr-xr-x 1 root root 71376 2008-06-27 02:31 sort -rwxr-xr-x 1 root root 163880 2008-09-22 23:34 sound-juicer -rwxr-xr-x 1 root root 34904 2008-08-05 17:05 sox -rwxr-xr-x 1 root root 9564 2010-04-17 02:07 spctoppm -rwxr-xr-x 1 root root 22096 2008-11-26 08:27 speaker-test -rwxr-xr-x 1 root root 18132 2008-10-17 17:12 speechd-synthes speechd-synthesis-driver is-driver -rwxr-xr-x 1 root root 17452 2009-06-26 21:47 splain -rwxr-xr-x 1 root root 34348 2008-06-27 02:31 split -rwxr-xr-x 1 root root 5472 2008-09-25 11:12 splitfont -rwxr-xr-x 1 root root 9648 2008-07-04 13:21 sponge -rwxr-xr-x 1 root root 22016 2009-01-29 11:23 sprof -rwxr-xr-x 1 root root 5456 2010-04-17 02:07 sputoppm -rwxr-xr-x 1 root root 3640 2007-05-18 11:49 sq -rwxr-xr-x 1 root root 24080 2007-11-02 01:35 sqlite -rwxr-xr-x 1 root root 36228 2009-01-27 12:33 sqlite3 -rwxr-xr-x 1 root root 188 2008-07-19 08:34 squiggle -rwxr-xr-x 1 root root 5432 2008-07-24 10:21 srconv -rwxr-xr-x 1 root root 318812 2008-10-13 20:50 ssh -rwxr-xr-x 1 root root 100940 2008-10-13 20:50 ssh-add -rwxr-sr-x 1 root ssh 79860 2008-10-13 20:50 ssh-agent -rwxr-xr-x 1 root root 1452 2008-10-13 20:50 ssh-argv0 lrwxrwxrwx 1 root root 29 2009-10-02 15:17 ssh-askpass -> /etc/alternatives/ssh-askpass -rwxr-xr-x 1 root root 1308 2008-10-13 20:50 ssh-copy-id -rwxr-xr-x 1 root root 125648 2008-10-13 20:50 ssh-keygen -rwxr-xr-x 1 root root 170880 2008-10-13 20:50 ssh-keyscan -rwxr-xr-x 1 root root 88592 2008-10-13 20:50 ssh-vulnkey -rwxr-xr-x 1 root root 58888 2009-08-25 02:21 ssltap -rwxr-xr-x 1 root root 9588 2010-04-17 02:07 st4topgm -rwxr-xr-x 1 root root 734 2008-06-13 17:56 startlxde -rwxr-xr-x 1 root root 4473 2008-05-29 14:53 startx -rwxr-xr-x 1 root root 46652 2008-06-27 02:31 stat -rwxr-xr-x 1 root root 195996 2008-05-27 11:50 strace -rwxr-xr-x 1 root root 5460 2009-06-05 00:49 stream -rwxr-xr-x 1 root root 13756 2008-10-13 20:04 strfile -rwxr-xr-x 1 root root 26360 2008-10-09 16:33 strings -rwxr-xr-x 1 root root 191964 2008-10-09 16:33 strip lrwxrwxrwx 1 root root 8 2009-10-02 15:17 stunnel -> stunnel3 -rwxr-xr-x 1 root root 2797 2008-05-28 09:53 stunnel3 -rwxr-xr-x 1 root root 97068 2008-05-28 09:53 stunnel4 -rwsr-xr-x 2 root root 115136 2010-04-13 19:40 sudo -rwsr-xr-x 2 root root 115136 2010-04-13 19:40 sudoedit -rwxr-xr-x 1 root root 34344 2008-06-27 02:31 sum -rwxr-xr-x 1 root root 155580 2008-07-02 23:03 sunclock -rwxr-xr-x 1 root root 3023 2008-08-15 13:52 su-to-root
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
• • • • •
-rwxr-xr-x 1 root root 183 2008-07-19 08:34 svgpp -rwxr-xr-x 1 root root 46 2009-06-28 22:09 svlc -rwxr-xr-x 1 root root 11420 2008-10-18 12:25 synclient -rwxr-xr-x 1 root root 13772 2008-10-18 12:25 syndaemon -rwxr-xr-x 1 root root 28956 2008-07-15 15:06 syslinux -rwxr-xr-x 1 root root 1421 2008-07-15 15:06 syslinux2ansi -rwxr-xr-x 1 root root 95 2008-10-20 09:20 system-config-printer -rwxr-xr-x 1 root root 80 2008-10-20 09:20 system-config-printer-applet -rwxr-xr-x 1 root root 22296 2008-11-04 20:26 system-tools-backen system-tools-backends ds -rwxr-xr-x 1 root root 30260 2008-06-27 02:31 tac -rwxr-xr-x 1 root root 50792 2008-06-27 02:31 tail -rwxr-xr-x 1 root root 21027 2009-03-25 13:28 tasksel -rwxr-xr-x 1 root root 9600 2008-09-25 15:08 taskset -rwxr-xr-x 1 root root 99940 2008-05-03 04:43 tbl -rwxr-xr-x 1 root root 50732 2008-10-17 14:35 tcdialog lrwxrwxrwx 1 root root 23 2009-10-02 15:17 tclsh -> /etc/alternatives/tclsh -rwxr-xr-x 1 root root 5436 2008-06-23 16:23 tclsh8.4 -rwxr-xr-x 1 root root 2160 2010-01-15 13:29 tcos-dbus-client -rwxr-xr-x 1 root root 26072 2008-06-27 02:31 tee lrwxrwxrwx 1 root root 24 2009-10-02 15:17 telnet -> /etc/alternatives/telnet -rwxr-xr-x 1 root root 77504 2006-12-18 03:16 telnet.netkit -rwxr-xr-x 1 root root 26120 2008-06-27 02:31 test -rwxr-xr-x 1 root root 13896 2008-09-22 23:25 test-moniker -rwxr-xr-x 1 root root 785416 2010-03-22 22:22 testparm -rwxr-xr-x 1 root root 13888 2008-10-17 17:12 test-speech -rwxr-xr-x 1 root root 256328 2008-10-17 14:35 tex -rwxr-xr-x 1 root root 44817 2008-10-17 14:33 texconfig -rwxr-xr-x 1 root root 13061 2008-10-17 14:33 texconfig-dialog -rwxr-xr-x 1 root root 838 2008-10-17 14:33 texconfig-sys -rwxr-xr-x 1 root root 6799 2008-10-17 14:33 texdoc -rwxr-xr-x 1 root root 60587 2008-10-17 14:33 texdoctk lrwxrwxrwx 1 root root 8 2009-10-02 15:17 texhash -> mktexlsr -rwxr-xr-x 1 root root 47530 2008-03-07 14:25 texi2dvi -rwxr-xr-x 1 root root 660 2008-03-07 14:25 texi2pdf -rwxr-xr-x 1 root root 14176 2008-03-07 14:25 texindex -rwxr-xr-x 1 root root 8923 2008-10-17 14:33 texlinks -rwxr-xr-x 1 root root 6444 2008-04-08 19:19 text2wave -rwxr-xr-x 1 root root 9580 2010-04-17 02:07 tgatoppm -rwxr-xr-x 1 root root 1573 2008-05-29 22:55 tgz -rwxr-xr-x 1 root root 17824 2010-04-17 02:07 thinkjettopbm -rwxr-xr-x 1 root root 41555 2008-10-17 14:33 thumbpdf lrwxrwxrwx 1 root root 30 2010-09-16 19:39 thunderbird -> ../lib/thunderbird/thunderbird -rwxr-xr-x 1 root root 47976 2008-02-24 00:38 tic -rwxr-xr-x 1 root root 13708 2010-04-17 02:07 tifftopnm -rwxr-xr-x 1 root root 13904 2008-08-08 00:08 time -rwxr-xr-x 1 root root 98884 2009-04-24 13:44 time-admin -rwxr-xr-x 1 root root 9576 2008-05-26 18:38 timelimit
• • • •
• • • • • • • • • •
• • • •
•
• • • • • •
• • • • • • • • • • • • • • • • • • •
-rwxr-xr-x 1 root root 1372176 2008-10-16 15:25 timidity -rwxr-xr-x 1 root root 9612 2008-10-30 05:11 tload -rwxr-xr-x 1 root root 2698 2008-11-20 23:48 tm_drgeo lrwxrwxrwx 1 root root 27 2009-10-02 15:17 tnameserv -> /etc/alternatives/tnameserv -rwxr-xr-x 1 root root 209892 2008-06-22 00:31 toc2cddb -rwxr-xr-x 1 root root 209888 2008-06-22 00:31 toc2cue lrwxrwxrwx 1 root root 7 2009-10-02 15:17 todos -> fromdos -rwxr-xr-x 1 root root 8668 2008-02-24 00:38 toe -rwxr-xr-x 1 root root 1562 2008-09-23 22:14 tomboy -rwxr-xr-x 1 root root 377 2008-09-23 22:14 tomboy-panel -rwxr-xr-x 1 root root 72600 2008-10-30 05:11 top -rwxr-xr-x 1 root root 84824 2008-05-30 10:20 toshset lrwxrwxrwx 1 root root 23 2009-10-02 15:17 totem -> /etc/alternatives/totem lrwxrwxrwx 1 root root 37 2009-10-02 15:17 totem-audio-preview -> /etc/alternatives/totem-audio-preview -rwxr-xr-x 1 root root 372612 2008-10-31 16:55 totem-gstreamer -rwxr-xr-x 1 root root 143040 2008-10-31 16:55 totem-gstreamer-audio-preview -rwxr-xr-x 1 root root 143072 2008-10-31 16:55 totem-gstreamer-video-indexer -rwxr-xr-x 1 root root 146336 2008-10-31 16:55 totem-gstreamer-videothumbnailer lrwxrwxrwx 1 root root 37 2009-10-02 15:17 totem-video-indexer -> /etc/alternatives/totem-video-indexer lrwxrwxrwx 1 root root 10 2009-10-02 15:17 touch -> /bin/touch -rwxr-xr-x 1 root root 9428 2008-02-24 00:38 tput -rwxr-xr-x 1 root root 42516 2008-06-27 02:31 tr -rwxr-xr-x 1 root root 8140 2007-12-10 18:33 tracepath -rwxr-xr-x 1 root root 9356 2007-12-10 18:33 tracepath6 lrwxrwxrwx 1 root root 29 2009-10-02 15:17 traceroute6 -> /etc/alternatives/traceroute6 -rwsr-xr-x 1 root root 12296 2007-12-10 18:33 traceroute6.iputils -rwxr-xr-x 1 root root 34908 2008-11-27 21:43 tracker-applet -rwxr-xr-x 1 root root 415728 2008-11-27 21:43 trackerd -rwxr-xr-x 1 root root 13824 2008-11-27 21:43 tracker-extract -rwxr-xr-x 1 root root 5472 2008-11-27 21:43 tracker-files -rwxr-xr-x 1 root root 5484 2008-11-27 21:43 tracker-meta-folder -rwxr-xr-x 1 root root 38896 2008-11-27 21:43 tracker-preferences -rwxr-xr-x 1 root root 9804 2008-11-27 21:43 tracker-query -rwxr-xr-x 1 root root 9804 2008-11-27 21:43 tracker-search -rwxr-xr-x 1 root root 102204 2008-11-27 21:43 tracker-search-tool -rwxr-xr-x 1 root root 5500 2008-11-27 21:43 tracker-stats -rwxr-xr-x 1 root root 5468 2008-11-27 21:43 tracker-status -rwxr-xr-x 1 root root 9856 2008-11-27 21:43 tracker-tag -rwxr-xr-x 1 root root 13800 2008-11-27 21:43 tracker-thumbnailer -rwxr-xr-x 1 root root 652956 2010-01-14 01:25 transmission -rwxr-xr-x 1 root root 1417 2009-11-05 12:20 trash-empty -rwxr-xr-x 1 root root 977 2009-11-05 12:20 trash-list -rwxr-xr-x 1 root root 3010 2009-11-05 12:20 trash-put -rwxr-xr-x 1 root root 897 2009-11-05 12:20 trash-restore
• • • • • • • • • • • • • • • • • •
•
• • • • • • • • • • • • • • • • • •
• • • • • • • •
-rwxr-xr-x 1 root root 39020 2008-06-09 11:24 tree -rwxr-xr-x 1 root root 346260 2008-05-03 04:43 troff -rwxr-xr-x 1 root root 4309 2007-05-18 11:49 tryaffix -rwxr-xr-x 1 root root 2515 2008-07-04 13:21 ts -rwxr-xr-x 1 root root 92292 2008-07-03 07:04 tsclient -rwxr-xr-x 1 root root 14620 2008-02-24 00:38 tset -rwxr-xr-x 1 root root 34252 2008-06-27 02:31 tsort -rwxr-xr-x 1 root root 185 2008-07-19 08:34 ttf2svg -rwxr-xr-x 1 root root 26048 2008-06-27 02:31 tty lrwxrwxrwx 1 root root 21 2010-09-16 19:42 tuxpaint -> /usr/bin/tuxpaint.sdl -rwxr-xr-x 1 root root 55816 2008-06-17 19:04 tuxpaint-config -rwxr-xr-x 1 root root 4559 2008-08-28 13:22 tuxpaint-import -rwxr-xr-x 1 root root 218352 2008-08-28 13:22 tuxpaint.real -rwxr-xr-x 1 root root 46 2009-11-10 12:45 tuxpaint.sdl -rwxr-xr-x 1 root root 4459 2006-06-21 13:50 typefortune -rwxr-xr-x 1 root root 9580 2008-09-24 22:54 typelib-dump -rwxr-xr-x 1 root root 6894 2009-01-29 11:07 tzselect lrwxrwxrwx 1 root root 27 2009-10-02 15:17 ubuntu-bug -> /usr/bin/ubuntubug.lliurex lrwxrwxrwx 1 root root 18 2009-10-02 15:17 ubuntu-bug.lliurex -> lliurexreport-bug -rwxr-xr-x 1 root root 1683 2008-10-20 12:54 ubuntu-bug.ubuntu -rwxr-xr-x 1 root root 32867 2008-09-03 16:15 ucf -rwxr-xr-x 1 root root 19290 2008-05-30 08:22 ucfq -rwxr-xr-x 1 root root 10405 2008-05-30 08:22 ucfr -rwxr-xr-x 1 root root 17972 2008-06-18 04:55 ucs2any lrwxrwxrwx 1 root root 13 2009-10-02 15:17 udevinfo -> /sbin/udevadm -rwxr-xr-x 1 root root 9848 2007-12-12 14:59 ul -rwxr-xr-x 1 root root 11866 2008-10-13 13:52 unattended-upgrade -rwxr-xr-x 1 root root 30228 2008-06-27 02:31 unexpand -rwxr-xr-x 1 root root 530 2008-09-25 11:11 unicode_stop -rwxr-xr-x 1 root root 901 2008-05-09 23:37 uniconvertor -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 uninstaller -rwxr-xr-x 1 root root 34284 2008-06-27 02:31 uniq lrwxrwxrwx 1 root root 7 2009-10-02 15:17 unix2dos -> fromdos -rwxr-xr-x 1 root root 26044 2008-06-27 02:31 unlink lrwxrwxrwx 1 root root 4 2009-10-02 15:17 unlzma -> lzma -rwxr-xr-x 1 root root 50 2009-03-30 08:22 unopkg lrwxrwxrwx 1 root root 27 2009-10-02 15:17 unpack200 -> /etc/alternatives/unpack200 lrwxrwxrwx 1 root root 23 2009-10-02 15:17 unrar -> /etc/alternatives/unrar -rwxr-xr-x 1 root root 187172 2008-06-19 19:43 unrar-nonfree -rwxr-xr-x 1 root root 3996 2007-05-18 11:49 unsq -rwxr-xr-x 1 root root 9576 2008-10-13 20:04 unstr -rwxr-xr-x 1 root root 8780 2004-08-14 00:56 untex -rwxr-xr-x 1 root root 129484 2008-06-25 18:06 unzip -rwxr-xr-x 1 root root 59604 2008-06-25 18:06 unzipsfx lrwxrwxrwx 1 root root 26 2009-10-02 15:17 updatedb -> /etc/alternatives/updatedb
• • •
• • •
• • • • • • •
• • • • • • • • • • • • • • • • • • •
• • • • • • • • • • •
•
-rwxr-xr-x 1 root root 34432 2008-06-26 16:17 updatedb.mlocate -rwxr-xr-x 1 root root 13856 2008-09-16 18:16 update-desktop-database lrwxrwxrwx 1 root root 15 2009-10-02 15:17 update-fmtutil -> updatefontlang -rwxr-xr-x 1 root root 22628 2008-05-03 08:43 update-fontlang -rwxr-xr-x 1 root root 210 2008-10-02 03:28 update-gnucash-gconf lrwxrwxrwx 1 root root 15 2009-10-02 15:17 update-language -> updatefontlang -rwxr-xr-x 1 root root 3473 2008-11-04 20:04 update-manager -rwxr-xr-x 1 root root 116912 2008-08-15 13:52 update-menus -rwxr-xr-x 1 root root 42776 2008-08-04 09:25 update-mime-database -rwxr-xr-x 1 root root 55776 2008-10-24 07:57 update-notifier -rwxr-xr-x 1 root root 3331 2008-10-24 07:22 update-pciids -rwxr-xr-x 1 root root 6208 2008-05-03 08:51 update-perl-sax-parsers lrwxrwxrwx 1 root root 15 2009-10-02 15:17 update-updmap -> updatefontlang -rwxr-xr-x 1 root root 47629 2008-10-17 14:33 updmap -rwxr-xr-x 1 root root 829 2008-10-17 14:33 updmap-sys -rwxr-xr-x 1 root root 5432 2008-10-30 05:11 uptime -rwxr-xr-x 1 root root 3561 2009-06-19 10:35 urlsee -rwxr-xr-x 1 root root 1533 2009-05-18 09:17 usb-creator -rwxr-xr-x 1 root root 26076 2008-06-27 02:31 users -rwxr-xr-x 1 root root 97544 2009-04-24 13:44 users-admin -rwxr-xr-x 1 root root 90 2009-02-23 10:19 user-setup -rwxr-xr-x 1 root root 5468 2008-10-13 15:09 uuidgen -rwxr-xr-x 1 root root 2088 2009-01-02 22:47 uxterm -rwxr-xr-x 1 root root 1488 2008-05-29 22:55 uz -rwxr-xr-x 1 root root 515 2009-07-28 12:21 validate-mail lrwxrwxrwx 1 root root 20 2009-10-02 15:17 vi -> /etc/alternatives/vi -rwxr-xr-x 1 root root 4488 2008-07-04 13:21 vidir lrwxrwxrwx 1 root root 22 2009-10-02 15:17 view -> /etc/alternatives/view -rwxr-xr-x 1 root root 18416 2008-06-01 16:01 viewres lrwxrwxrwx 1 root root 21 2009-10-02 15:17 vim -> /etc/alternatives/vim -rwxr-xr-x 1 root root 1631012 2009-01-08 03:27 vim.basic lrwxrwxrwx 1 root root 25 2009-10-02 15:17 vimdiff -> /etc/alternatives/vimdiff -rwxr-xr-x 1 root root 634212 2009-01-08 03:27 vim.tiny -rwxr-xr-x 1 root root 2084 2009-01-08 03:25 vimtutor -rwxr-xr-x 1 root root 142788 2008-12-06 21:26 vinagre -rwxr-xr-x 1 root root 9620 2008-10-21 20:00 vino-passwd -rwxr-xr-x 1 root root 26304 2008-10-21 20:00 vino-preferences -rwxr-xr-x 1 root root 1260 2008-07-04 13:21 vipe -rwxr-xr-x 1 root root 9580 2009-06-28 22:10 vlc -rwxr-xr-x 1 root root 9624 2009-06-28 22:10 vlc-wrapper -rwxr-xr-x 1 root root 3432 2008-04-15 00:51 vmmouse_detect -rwxr-xr-x 1 root root 21964 2008-10-30 05:11 vmstat lrwxrwxrwx 1 root root 27 2009-10-02 15:17 vncviewer -> /etc/alternatives/vncviewer -rwxr-xr-x 1 root root 5464 2008-10-02 23:58 volname
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
-rwxr-xr-x 1 root root 992 2009-11-05 12:20 volume-of lrwxrwxrwx 1 root root 19 2009-10-02 15:17 w -> /etc/alternatives/w -rwxr-xr-x 1 root root 1200296 2008-07-22 02:50 w3m -rwxr-xr-x 1 root root 1132 2008-07-22 02:49 w3mman -rwxr-sr-x 1 root tty 13808 2008-09-25 15:08 wall -rwxr-xr-x 1 root root 9912 2008-10-30 05:11 watch -rwxr-xr-x 1 root root 801924 2010-03-22 22:22 wbinfo -rwxr-xr-x 1 root root 5456 2010-04-17 02:07 wbmptopbm -rwxr-xr-x 1 root root 34348 2008-06-27 02:31 wc -rwxr-xr-x 1 root root 323 2009-04-09 22:50 wftopfa -rwxr-xr-x 1 root root 230168 2008-07-25 09:27 wget -rwxr-xr-x 1 root root 93680 2008-07-11 17:02 whatis -rwxr-xr-x 1 root root 9856 2008-09-25 15:08 whereis lrwxrwxrwx 1 root root 10 2009-10-02 15:17 which -> /bin/which -rwxr-xr-x 1 root root 22040 2009-09-22 14:51 whiptail -rwxr-xr-x 1 root root 38472 2008-06-27 02:31 who -rwxr-xr-x 1 root root 26052 2008-06-27 02:31 whoami -rwxr-xr-x 1 root root 37712 2008-09-01 09:24 whois -rwxr-xr-x 1 root root 260428 2009-01-06 11:26 widl -rwxr-xr-x 1 root root 5496 2009-01-06 11:26 wine lrwxrwxrwx 1 root root 4 2009-10-02 15:17 wine-auto -> wine -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 wineboot -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 winebrowser -rwxr-xr-x 1 root root 87616 2009-01-06 11:26 winebuild -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 winecfg -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 wineconsole lrwxrwxrwx 1 root root 7 2009-10-02 15:17 winecpp -> winegcc -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 winedbg -rwxr-xr-x 1 root root 136712 2009-01-06 11:26 winedump -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 winefile lrwxrwxrwx 1 root root 7 2009-10-02 15:17 wineg++ -> winegcc -rwxr-xr-x 1 root root 26112 2009-01-06 11:26 winegcc -rwxr-xr-x 1 root root 66740 2009-01-06 11:25 wine-kthread -rwxr-xr-x 1 root root 58998 2009-01-06 11:25 winemaker -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 winemine -rwxr-xr-x 1 root root 1582 2009-01-06 11:25 winepath -rwxr-xr-x 1 root root 3383 2009-01-06 11:25 wineprefixcreate -rwxr-xr-x 1 root root 11504 2009-01-06 11:26 wine-preloader -rwxr-xr-x 1 root root 28948 2009-01-06 11:25 wine-pthread -rwxr-xr-x 1 root root 325704 2009-01-06 11:26 wineserver -rwxr-xr-x 1 root root 5506 2009-01-06 11:25 wineshelllink -rwxr-xr-x 1 root root 13740 2010-04-17 02:07 winicontoppm -rwxr-xr-x 1 root root 67492 2008-07-24 10:21 winsound lrwxrwxrwx 1 root root 22 2009-10-02 15:17 wish -> /etc/alternatives/wish -rwxr-xr-x 1 root root 5444 2008-06-23 16:22 wish8.4 -rwxr-xr-x 1 root root 38376 2009-01-06 11:26 wmc -rwxr-xr-x 1 root root 13692 2009-04-24 18:29 wmf2eps -rwxr-xr-x 1 root root 13688 2009-04-24 18:29 wmf2fig
• • • • • • • • • • • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • •
-rwxr-xr-x 1 root root 9592 2009-04-24 18:29 wmf2gd -rwxr-xr-x 1 root root 9612 2009-04-24 18:29 wmf2svg -rwxr-xr-x 1 root root 9608 2009-04-24 18:29 wmf2x -rwxr-xr-x 1 root root 371148 2008-08-11 11:59 wodim -rwxr-xr-x 1 root root 5456 2008-08-20 11:57 word-list-compress -rwxr-xr-x 1 root root 22128 2008-09-03 16:30 wpa_passphrase -rwxr-xr-x 1 root root 13780 2008-10-30 05:11 w.procps -rwxr-xr-x 1 root root 187564 2009-01-06 11:26 wrc lrwxrwxrwx 1 root root 23 2009-10-02 15:17 write -> /etc/alternatives/write -rwxr-xr-x 1 root root 7904 2007-10-01 16:36 wrjpgcom -rwxr-xr-x 1 root root 2964 2006-12-20 15:55 wvAbw -rwxr-xr-x 1 root root 3112 2006-12-20 15:55 wvCleanLatex -rwxr-xr-x 1 root root 7532 2006-12-20 15:55 wvConvert -rwxr-xr-x 1 root root 96700 2008-05-19 11:55 wvdial -rwxr-xr-x 1 root root 44768 2008-05-19 11:55 wvdialconf -rwxr-xr-x 1 root root 2968 2006-12-20 15:55 wvDocBook -rwxr-xr-x 1 root root 6830 2006-12-20 15:55 wvDVI -rwxr-xr-x 1 root root 2962 2006-12-20 15:55 wvHtml -rwxr-xr-x 1 root root 3107 2006-12-20 15:55 wvLatex -rwxr-xr-x 1 root root 1063 2006-12-20 15:55 wvMime -rwxr-xr-x 1 root root 7640 2006-12-20 15:55 wvPDF -rwxr-xr-x 1 root root 7007 2006-12-20 15:55 wvPS -rwxr-xr-x 1 root root 10808 2006-12-20 15:55 wvRTF -rwxr-xr-x 1 root root 8772 2006-12-20 15:55 wvSummary -rwxr-xr-x 1 root root 1972 2006-12-20 15:55 wvText -rwxr-xr-x 1 root root 4780 2006-12-20 15:55 wvVersion -rwxr-xr-x 1 root root 32416 2006-12-20 15:55 wvWare -rwxr-xr-x 1 root root 2916 2006-12-20 15:55 wvWml lrwxrwxrwx 1 root root 29 2009-10-02 15:17 www-browser -> /etc/alternatives/www-browser -rwxr-xr-x 1 root root 1226940 2008-03-07 01:03 wxmaxima -rwsr-sr-x 1 root root 9620 2008-10-24 09:42 X lrwxrwxrwx 1 root root 1 2009-10-02 15:17 X11 -> . -rwxr-xr-x 1 root root 112984 2008-08-28 02:49 x11perf -rwxr-xr-x 1 root root 2703 2008-08-28 02:49 x11perfcomp -rwxr-xr-x 1 root root 1196108 2007-11-21 17:23 x11vnc -rwxr-xr-x 1 root root 596340 2009-02-12 13:49 xaos -rwxr-xr-x 1 root root 162800 2008-08-07 21:32 xarchiver -rwxr-xr-x 1 root root 34336 2008-07-03 22:08 xargs -rwxr-xr-x 1 root root 34820 2008-06-14 15:41 xauth -rwxr-xr-x 1 root root 58976 2008-05-05 08:52 xbb -rwxr-xr-x 1 root root 15172 2008-08-28 02:49 xbiff -rwxr-xr-x 1 root root 9576 2010-04-17 02:07 xbmtopbm -rwxr-xr-x 1 root root 71500 2008-08-06 11:09 xbrlapi -rwxr-xr-x 1 root root 26744 2008-08-28 02:49 xcalc -rwxr-xr-x 1 root root 13944 2008-08-28 02:49 xclipboard -rwxr-xr-x 1 root root 36344 2008-08-28 02:49 xclock -rwxr-xr-x 1 root root 30504 2008-08-28 02:51 xcmsdb
• • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • • • • • • • • • • •
-rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root lrwxrwxrwx 1 root root /etc/alternatives/xdvi.bin -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root -rwxr-xr-x 1 root root
14504 2008-08-28 02:49 xconsole 13772 2008-08-28 02:49 xcursorgen 9808 2008-08-28 02:49 xcutsel 14806 2008-06-06 22:43 xdg-desktop-icon 39267 2008-06-06 22:43 xdg-desktop-menu 15705 2008-06-06 22:43 xdg-email 24129 2008-06-06 22:43 xdg-icon-resource 28264 2008-06-06 22:43 xdg-mime 10229 2008-06-06 22:43 xdg-open 19307 2008-06-06 22:43 xdg-screensaver 242 2008-10-08 16:45 xdg-user-dir 18044 2008-09-25 19:17 xdg-user-dirs-gtk-update 3207 2009-07-02 15:50 xdg-user-dirs-update 17892 2008-10-08 16:45 xdg-user-dirs-update.real 87076 2007-12-01 11:52 Xdialog 59740 2008-08-28 02:49 xditview 26572 2008-06-01 16:01 xdpyinfo 9548 2008-06-01 16:01 xdriinfo 3031 2008-10-17 14:23 xdvi 26 2009-10-02 15:17 xdvi.bin -> 754852 2008-10-17 14:35 xdvi-xaw.bin 530012 2008-08-28 02:49 xedit 22080 2008-06-01 16:01 xev 14680 2008-08-28 02:49 xeyes 23056 2008-06-01 16:01 xfd 31284 2008-06-01 16:01 xfontsel 4620 2007-11-07 23:13 xfsinfo 1652 2008-06-17 10:12 xft-config 9572 2008-08-28 02:51 xgamma 53300 2008-08-28 02:49 xgc 192184 2008-07-31 09:39 xgettext 13764 2008-08-28 02:51 xhost 9616 2010-04-17 02:07 ximtoppm 13824 2008-05-29 14:53 xinit 22188 2008-10-10 12:59 xinput 8440 2008-05-10 14:18 xkbbell 182020 2008-05-10 14:18 xkbcomp 29160 2008-05-10 14:18 xkbevd 90288 2008-05-10 14:18 xkbprint 15932 2008-05-10 14:18 xkbvleds 13308 2008-05-10 14:18 xkbwatch 9688 2008-06-01 16:01 xkill 14232 2008-08-28 02:49 xload 14352 2008-08-28 02:49 xlogo 9576 2008-06-01 16:01 xlsatoms 9596 2008-06-01 16:01 xlsclients 17928 2008-06-01 16:01 xlsfonts
• • • • • • • • • • • • • • •
• • • • • • • • • • • • • • •
• • • • • • • • • •
• • • • •
-rwxr-xr-x 1 root root 31616 2008-08-28 02:49 xmag -rwxr-xr-x 1 root root 53064 2008-08-28 02:49 xman -rwxr-xr-x 1 root root 445243 2007-12-12 10:21 xmaxima -rwxr-xr-x 1 root root 14304 2008-06-01 16:01 xmessage -rwxr-xr-x 1 root root 1247 2008-08-05 02:44 xmkmf -rwxr-xr-x 1 root root 19576 2008-08-06 18:01 xml2ag -rwxr-xr-x 1 root root 1806 2009-08-10 23:46 xml2-config -rwxr-xr-x 1 root root 28676 2008-08-28 18:02 xml2po -rwxr-xr-x 1 root root 13740 2009-08-10 23:48 xmlcatalog -rwxr-xr-x 1 root root 51640 2009-08-10 23:48 xmllint -rwxr-xr-x 1 root root 26352 2008-08-28 02:51 xmodmap -rwxr-xr-x 1 root root 9692 2008-08-28 02:49 xmore -rwxr-xr-x 1 root root 1656476 2009-03-09 11:54 Xorg -rwxr-xr-x 1 root root 4965 2004-10-29 00:51 xpath lrwxrwxrwx 1 root root 34 2010-09-16 19:36 xpcshell-1.9 -> ../lib/xulrunner1.9.0.19/xpcshell -rwxr-xr-x 1 root root 13756 2010-04-17 02:07 xpmtoppm -rwxr-xr-x 1 root root 27352 2008-06-01 16:01 xprop -rwxr-xr-x 1 root root 38400 2008-08-28 02:51 xrandr -rwxr-xr-x 1 root root 22080 2008-08-28 02:51 xrdb -rwxr-xr-x 1 root root 9764 2008-08-28 02:51 xrefresh -rwxr-xr-x 1 root root 666600 2008-07-08 08:18 xsane -rwxr-xr-x 1 root root 220732 2008-10-24 08:49 xscreensaver -rwxr-xr-x 1 root root 21960 2008-10-24 08:49 xscreensaver-command -rwxr-xr-x 1 root root 183508 2008-10-24 08:49 xscreensaver-demo -rwxr-xr-x 1 root root 117480 2008-10-24 08:49 xscreensaver-getimage -rwxr-xr-x 1 root root 16178 2008-10-24 08:48 xscreensaver-getimage-file -rwxr-xr-x 1 root root 5044 2008-10-24 08:48 xscreensaver-getimage-video -rwxr-xr-x 1 root root 17840 2008-10-24 08:49 xscreensaver-gl-helper -rwxr-xr-x 1 root root 25120 2008-10-24 08:48 xscreensaver-text lrwxrwxrwx 1 root root 35 2009-10-02 15:17 x-session-manager -> /etc/alternatives/x-session-manager -rwxr-xr-x 1 root root 30252 2008-08-28 02:51 xset -rwxr-xr-x 1 root root 5472 2008-08-28 02:51 xsetmode -rwxr-xr-x 1 root root 9576 2008-08-28 02:51 xsetpointer -rwxr-xr-x 1 root root 13748 2008-08-28 02:51 xsetroot -rwxr-xr-x 1 root root 17908 2008-09-05 23:50 xsltproc -rwxr-xr-x 1 root root 70076 2007-11-07 20:04 xsm -rwxr-xr-x 1 root root 9996 2008-08-28 02:51 xstdcmap -rwxr-xr-x 1 root root 4093 2009-06-26 21:47 xsubpp -rwxr-sr-x 1 root utmp 332628 2009-01-02 22:47 xterm lrwxrwxrwx 1 root root 37 2009-10-02 15:17 x-terminal-emulator -> /etc/alternatives/x-terminal-emulator -rwxr-xr-x 1 root root 17816 2008-08-28 02:51 xtrapchar -rwxr-xr-x 1 root root 9688 2008-08-28 02:51 xtrapin -rwxr-xr-x 1 root root 5460 2008-08-28 02:51 xtrapinfo -rwxr-xr-x 1 root root 9708 2008-08-28 02:51 xtrapout -rwxr-xr-x 1 root root 5516 2008-08-28 02:51 xtrapproto
• • •
•
• • • • •
• • •
• • •
• • • • • • • • • • • • • • • • • •
8.
• • • • • •
-rwxr-xr-x 1 root root 5452 2008-08-28 02:51 xtrapreset -rwxr-xr-x 1 root root 5492 2008-08-28 02:51 xtrapstats lrwxrwxrwx 1 root root 27 2010-09-16 19:40 xulrunner -> /etc/alternatives/xulrunner lrwxrwxrwx 1 root root 35 2010-09-16 19:36 xulrunner-1.9 -> ../lib/xulrunner1.9.0.19/xulrunner -rwxr-xr-x 1 root root 31268 2008-08-28 02:51 xvidtune -rwxr-xr-x 1 root root 9584 2008-06-01 16:01 xvinfo -rwxr-xr-x 1 root root 5476 2010-04-17 02:07 xvminitoppm -rwxr-xr-x 1 root root 336248 2008-04-16 15:15 xvnc4viewer lrwxrwxrwx 1 root root 28 2009-10-02 15:17 xvncviewer -> /etc/alternatives/xvncviewer -rwxr-xr-x 1 root root 22028 2008-08-28 02:49 xwd -rwxr-xr-x 1 root root 13708 2010-04-17 02:07 xwdtopnm lrwxrwxrwx 1 root root 34 2009-10-02 15:17 x-window-manager -> /etc/alternatives/x-window-manager -rwxr-xr-x 1 root root 26096 2008-06-01 16:01 xwininfo -rwxr-xr-x 1 root root 26068 2008-08-28 02:49 xwud lrwxrwxrwx 1 root root 31 2009-10-02 15:17 x-www-browser -> /etc/alternatives/x-www-browser -rwxr-xr-x 1 root root 13820 2009-01-08 03:27 xxd -rwxr-xr-x 1 root root 50528 2007-11-22 02:13 yasr -rwxr-xr-x 1 root root 5468 2010-04-17 02:07 ybmtopbm -rwxr-xr-x 1 root root 225116 2008-10-24 11:37 yelp -rwxr-xr-x 1 root root 26040 2008-06-27 02:31 yes -rwxr-xr-x 1 root root 9580 2010-04-17 02:07 yuvsplittoppm -rwxr-xr-x 1 root root 5480 2010-04-17 02:07 yuvtoppm -rwxr-xr-x 1 root root 9616 2009-01-29 11:23 zdump -rwxr-xr-x 1 root root 5472 2010-04-17 02:07 zeisstopnm -rwxr-xr-x 1 root root 66320 2009-05-20 14:18 zenity -rwxr-xr-x 1 root root 66532 2006-07-10 16:47 zip -rwxr-xr-x 1 root root 27620 2006-07-10 16:47 zipcloak -rwxr-xr-x 1 root root 1188 2008-06-25 18:06 zipgrep -rwxr-xr-x 1 root root 129484 2008-06-25 18:06 zipinfo -rwxr-xr-x 1 root root 23296 2006-07-10 16:47 zipnote -rwxr-xr-x 1 root root 27392 2006-07-10 16:47 zipsplit -rwxr-xr-x 1 root root 2018 2008-07-04 13:21 zrun -rwxr-xr-x 1 root root 67504 2008-07-11 17:02 zsoelim
Listar todos los archivos del directorio tmp. Con cd .. voy a la carpeta personal y desde aí con cd /tmp voy a la carpeta y posteriormente con ls listo todos los archivos. keyring-ZUlWWa keyring-zYxmDp orbit-a4eso orbit-lliurex OSL_PIPE_1000_SingleOfficeIPC_58b85291c975c0499a1311af68185cb pulse-a4eso
pulse-lliurex seahorse-jQEVEY seahorse-q6O1D0 session-cmd-a4eso session-cmd-lliurex svo71.tmp Tracker-a4eso.18643 Tracker-lliurex.19479 virtual-a4eso.jCNwR5 virtual-lliurex.IjtVwm lliurex@host-10-0-2-152:/tmp$ 9. Listar todos los archivos del directorio etc que empiecen por t en orden inverso. Con cd .. vuelvo ala carpeta personal y desde aí con cd /etc entro en la carpeta /etc desde la qual con ls -r t* listo los archivos en orden inverso. typespeedrc ts.conf timezone tcospasswd • • • • • • • • • • •
• • • •
tuxtype: settings.txt
• • •
tuxpaint: tuxpaint.conf
• • •
timidity: timidity.cfg freepats.cfg
• • •
thunderbird: profile pref
• • • •
texmf: xdvi updmap.d texmf.cnf tex language.d dvips web2c texmf.d texdoctk metafont fmt.d dvipdfm
• • •
terminfo: README
• • •
tcos: ssl conf.d
10. Listar todos los archivos del directorio dev que empiecen por tty y tengan 5 caracteres. Con ls tty?? listo todos los archivos que empiezen con tty y tengan dos caracteres más es decir 5. tty10 tty39 ttya4 ttyc1 ttyde ttypb ttyr8 ttyt1 ttyue ttywb ttyy8 tty11 tty40 ttya5 ttyc2 ttydf ttypc ttyr9 ttyt2 ttyuf ttywc ttyy9 tty12 tty41 ttya6 ttyc3 ttye0 ttypd ttyra ttyt3 ttyv0 ttywd ttyya tty13 tty42 ttya7 ttyc4 ttye1 ttype ttyrb ttyt4 ttyv1 ttywe ttyyb tty14 tty43 ttya8 ttyc5 ttye2 ttypf ttyrc ttyt5 ttyv2 ttywf ttyyc tty15 tty44 ttya9 ttyc6 ttye3 ttyq0 ttyrd ttyt6 ttyv3 ttyx0 ttyyd tty16 tty45 ttyaa ttyc7 ttye4 ttyq1 ttyre ttyt7 ttyv4 ttyx1 ttyye • • • • • • •
• • • • • • • • • • • • • • • • • • • • • •
tty17 tty18 tty19 tty20 tty21 tty22 tty23 tty24 tty25 tty26 tty27 tty28 tty29 tty30 tty31 tty32 tty33 tty34 tty35 tty36 tty37 tty38
tty46 tty47 tty48 tty49 tty50 tty51 tty52 tty53 tty54 tty55 tty56 tty57 tty58 tty59 tty60 tty61 tty62 tty63 ttya0 ttya1 ttya2 ttya3
ttyab ttyc8 ttye5 ttyq2 ttyrf ttyt8 ttyac ttyc9 ttye6 ttyq3 ttys0 ttyt9 ttyad ttyca ttye7 ttyq4 ttyS0 ttyta ttyae ttycb ttye8 ttyq5 ttys1 ttytb ttyaf ttycc ttye9 ttyq6 ttyS1 ttytc ttyb0 ttycd ttyea ttyq7 ttys2 ttytd ttyb1 ttyce ttyeb ttyq8 ttyS2 ttyte ttyb2 ttycf ttyec ttyq9 ttys3 ttytf ttyb3 ttyd0 ttyed ttyqa ttyS3 ttyu0 ttyb4 ttyd1 ttyee ttyqb ttys4 ttyu1 ttyb5 ttyd2 ttyef ttyqc ttys5 ttyu2 ttyb6 ttyd3 ttyp0 ttyqd ttys6 ttyu3 ttyb7 ttyd4 ttyp1 ttyqe ttys7 ttyu4 ttyb8 ttyd5 ttyp2 ttyqf ttys8 ttyu5 ttyb9 ttyd6 ttyp3 ttyr0 ttys9 ttyu6 ttyba ttyd7 ttyp4 ttyr1 ttysa ttyu7 ttybb ttyd8 ttyp5 ttyr2 ttysb ttyu8 ttybc ttyd9 ttyp6 ttyr3 ttysc ttyu9 ttybd ttyda ttyp7 ttyr4 ttysd ttyua ttybe ttydb ttyp8 ttyr5 ttyse ttyub ttybf ttydc ttyp9 ttyr6 ttysf ttyuc ttyc0 ttydd ttypa ttyr7 ttyt0 ttyud
ttyv5 ttyx2 ttyyf ttyv6 ttyx3 ttyz0 ttyv7 ttyx4 ttyz1 ttyv8 ttyx5 ttyz2 ttyv9 ttyx6 ttyz3 ttyva ttyx7 ttyz4 ttyvb ttyx8 ttyz5 ttyvc ttyx9 ttyz6 ttyvd ttyxa ttyz7 ttyve ttyxb ttyz8 ttyvf ttyxc ttyz9 ttyw0 ttyxd ttyza ttyw1 ttyxe ttyzb ttyw2 ttyxf ttyzc ttyw3 ttyy0 ttyzd ttyw4 ttyy1 ttyze ttyw5 ttyy2 ttyzf ttyw6 ttyy3 ttyw7 ttyy4 ttyw8 ttyy5 ttyw9 ttyy6 ttywa ttyy7
11. Listar todos los archivos del directorio dev que empiecen por tty y acaben en 1, 2, 3 ó 4. Con ls tty?[1234] tty11 tty32 tty53 ttyb1 ttyd2 ttyp3 ttyr4 ttyt2 ttyv3 ttyx4 tty12 tty33 tty54 ttyb2 ttyd3 ttyp4 ttys1 ttyt3 ttyv4 ttyy1 tty13 tty34 tty61 ttyb3 ttyd4 ttyq1 ttyS1 ttyt4 ttyw1 ttyy2 tty14 tty41 tty62 ttyb4 ttye1 ttyq2 ttys2 ttyu1 ttyw2 ttyy3 tty21 tty42 tty63 ttyc1 ttye2 ttyq3 ttyS2 ttyu2 ttyw3 ttyy4 tty22 tty43 ttya1 ttyc2 ttye3 ttyq4 ttys3 ttyu3 ttyw4 ttyz1 tty23 tty44 ttya2 ttyc3 ttye4 ttyr1 ttyS3 ttyu4 ttyx1 ttyz2 tty24 tty51 ttya3 ttyc4 ttyp1 ttyr2 ttys4 ttyv1 ttyx2 ttyz3 tty31 tty52 ttya4 ttyd1 ttyp2 ttyr3 ttyt1 ttyv2 ttyx3 ttyz4 • • • • • • • • •
12. Listar todos los archivos del directorio dev que empiecen por t y acaben en C1. Con t*c1 listo todos los archivos que empiezan por t y acaban por c1 . Ttyc1 •
13. Listar todos los archivos, incluidos los ocultos, del directorio raíz. Con cd .. vuelves a el directorio raíz y con ls -a listas todos los archivos incluidos los ocultos. . boot home lost+found opt sbin usr .. cdrom initrd.img media proc srv var backupdev initrd.img.old mnt .rnd sys vmlinuz bin etc lib net root tmp vmlinuz.old • • • •
14. Listar todos los archivos del directorio etc que no empiecen por t.
• •
Con cd /etc voy al directorio /etc y con ls [abcdefghijklmnopqrsuvwxyz]* listo todos los archivos menos los que empiezan por t. hp: hplip.conf
• • •
hwtest.d: hwtest-gtk.ini hwtest.ini
• • •
imlib: im_palette.pal im_palette-small.pal im_palette-tiny.pal imrc
• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •
init.d: acpid acpi-support alsa-utils apmd apparmor apport atd avahi-daemon binfmt-support bluetooth bootlogd bootmisc.sh brltty checkfs.sh checkroot.sh clamav-freshclam console-screen.kbd.sh console-setup cron cups dansguardian dbus dkms_autoinstaller dns-clean gdm glibc.sh hal halt hostname.sh hotkey-setup hwclockfirst.sh hwclock.sh keyboard-setup killprocs klogd laptop-mode
mountnfs-bootclean.sh mountnfs.sh mountoverflowtmp mtab.sh networking NetworkManager nfs-common nfs-common-restart pcmciautils policykit polipo portmap powernowd powernowd.early pppd-dns procps pulseaudio rc rc.local rcS README reboot rmnologin rsync screen-cleanup sendsigs single skeleton ssh stop-bootlogd stop-bootlogd-single stunnel4 sysklogd system-tools-backends tcos-standalone timidity
• • • • • • • • • • • • • • •
libchipcard-tools udev libnss-ldap udev-finish linux-restricted-modules-common ufw lliurex-dkms-alsa-modules umountfs llxcfg umountnfs.sh llxcfg-backend-daemon umountroot llxcfg-init urandom llx-usplash-timeout29 usplash llx-usplash-timeout60 vbesave loopback winbind module-init-tools wpa-ifupdown mountall-bootclean.sh x11-common mountall.sh xdebconfigurator mountdevsubfs.sh xserver-xorg-input-wacom mountkernfs.sh
• • •
initramfs-tools: conf.d hooks initramfs.conf modules
scripts update-initramfs.conf
• • •
iproute2: ematch_map rt_dsfield
rt_protos rt_realms rt_scopes rt_tables
• • •
java: security
• • • • • •
java-6-sun: calendars.properties jvm.cfg security content-types.properties logging.properties sound.properties flavormap.properties management fontconfig.properties net.properties
• • •
kbd: config config.d remap
• • •
kernel: header_postinst.d postinst.d prerm.d
• • •
kompozer: pref profile
• • • •
laptop-mode: batt-start conf.d lm-ac-start modules nolm-ac-stop batt-stop laptop-mode.conf lm-ac-stop nolm-ac-start
• • •
ldap: ldap.conf
• •
ld.so.conf.d:
•
atlas.conf i486-linux-gnu.conf libasound2.conf libc.conf
• • •
libgda: config
• • •
libgda-3.0: config sales_test.db
• •
libpaper.d:
• • •
lliurex-dkms: alsa-modules.d
• • •
lliurex-grub: default-image
• • •
lliurex-live-scripts: users
• • •
lliurex-secrets: passgen
• • • • • • • • • • •
llxcfg: apt-scripts grub-scripts.deny ncfg-scripts.deny vars apt-scripts.d init-scripts net-scripts xlogin-scripts apt-scripts.deny init-scripts.d net-scripts.d xlogin-scripts.d config init-scripts.deny net-scripts.deny xlogin-scripts.deny cpkg-scripts key-scripts saba-scripts xsession-scripts cpkg-scripts.d key-scripts.d saba-scripts.d xsession-scripts.d cpkg-scripts.deny key-scripts.deny saba-scripts.deny xsession-scripts.deny grub-scripts ncfg-scripts scripts-available grub-scripts.d ncfg-scripts.d scripts-enabled
• • •
logcheck: ignore.d.paranoid ignore.d.server ignore.d.workstation
• • • • •
logrotate.d: apport clamav-freshclam dpkg stunnel4 wpa_action apt cups polipo unattended-upgrades wpa_supplicant aptitude dansguardian ppp winbind
• •
lsb-base:
• • •
lsb-release-lliurex.d: lliurex
• • •
lsb-release-ubuntu.d:
• •
mc: mc.ext mc.lib mc.menu
• • •
menu: README
• • •
menu-methods: lang.h menu.config menu.h openbox README translate_menus
• • • • • • • •
modprobe.d: aliases blacklist-framebuffer libsane alsa-base-blacklist.conf blacklist-watchdog linux-sound-base_noOSS.conf alsa-base.conf dkms lrm-video arch fuse options arch-aliases isapnp toshiba_acpi.modprobe blacklist libpisock9
• • •
mono: 1.0 2.0 browscap.ini config
• • •
mplayer: input.conf menu.conf mplayer.conf
• • •
mysql: conf.d my.cnf
• • • •
network: if-down.d if-pre-up.d interfaces if-post-down.d if-up.d interfaces.20091005-121646
• • •
obex-data-server: capability.xml imaging_capabilities.xml
• • •
op: op.conf op.d
• • •
openal: alsoft.conf
• • •
openoffice: psprint.conf sofficerc soffice.sh
• •
opt:
• • • • •
pam.d: atd chfn chsh
common-password gdm passwd su common-session gdm-autologin polkit sudo cron gnome-screensaver ppp xscreensaver
• •
common-account common-auth cvs
cups
login other
samba sshd
• • •
pango: pangox.aliases
• • •
pcmcia: config.opts
• • •
perl: CPAN Net XML
• • •
pm: config.d power.d sleep.d
• • •
polipo: config forbidden options
• • •
power: event.d scripts.d
• • • • •
ppp: chap-secrets ip-up ipv6-down.d options pppoe_on_boot ip-down ip-up.d ipv6-up pap-secrets resolv ip-down.d ipv6-down ipv6-up.d peers
• • •
profile.d: gvfs-bash-completion.sh proxy-client.sh
• • •
pulse: client.conf daemon.conf default.pa
• • •
purple: prefs.xml
• • •
python: debian_config
• • •
python2.4: sitecustomize.py
• • •
python2.5: sitecustomize.py
• • •
qt3: qt_plugins_3.3rc qtrc
• •
rc0.d:
• • • • • • • • • • • • • • • • • •
K01gdm K74bluetooth K01timidity K74dkms_autoinstaller K02usplash K86avahi-daemon K19dansguardian K91llxcfg-backend-daemon K20apmd K95llxcfg-init K20apport K99laptop-mode K20clamav-freshclam K99llxcfg K20libchipcard-tools README K20libnss-ldap S01linux-restricted-modules-common K20lliurex-dkms-alsa-modules S15wpa-ifupdown K20nfs-common S20sendsigs K20polipo S30urandom K20stunnel4 S31umountnfs.sh K20tcos-standalone S32portmap K20winbind S35networking K25hwclock.sh S40umountfs K50alsa-utils S60umountroot K63mountoverflowtmp S90halt
• • • • • • • • • • • • • • • •
rc1.d: K01gdm K20libnss-ldap K80cups K01timidity K20lliurex-dkms-alsa-modules K81portmap K02usplash K20nfs-common K84ssh K11atd K20polipo K86avahi-daemon K11cron K20powernowd K88dbus K15pulseaudio K20rsync K89klogd K16hal K20stunnel4 K90sysklogd K19dansguardian K20tcos-standalone K99laptop-mode K20acpi-support K20winbind K99policykit K20apmd K21acpid README K20apport K39ufw S30killprocs K20clamav-freshclam K70system-tools-backends S90single K20hotkey-setup K74bluetooth K20libchipcard-tools K74dkms_autoinstaller
• • • • • • • • • • • • • •
rc2.d: README S20rsync S01policykit S20stunnel4 S05vbesave S20tcos-standalone S10acpid S20winbind S10powernowd.early S20xdebconfigurator S10sysklogd S24hal S10xserver-xorg-input-wacom S25bluetooth S11klogd S25pulseaudio S12dbus S28NetworkManager S14avahi-daemon S30gdm S16ssh S30system-tools-backends S20apmd S50dansguardian
• • • • • • • • • •
S20apport S89atd S20clamav-freshclam S89cron S20cups S90binfmt-support S20dkms_autoinstaller S98usplash S20hotkey-setup S99acpi-support S20libchipcard-tools S99laptop-mode S20lliurex-dkms-alsa-modules S99nfs-common-restart S20nfs-common S99rc.local S20polipo S99rmnologin S20powernowd S99timidity
• • • • • • • • • • • • • • • • • • • • • • •
rc3.d: README S20rsync S01policykit S20stunnel4 S05vbesave S20tcos-standalone S10acpid S20winbind S10sysklogd S20xdebconfigurator S10xserver-xorg-input-wacom S24hal S11klogd S25bluetooth S12dbus S25pulseaudio S14avahi-daemon S28NetworkManager S16ssh S30gdm S20apmd S30system-tools-backends S20apport S50dansguardian S20clamav-freshclam S89atd S20cups S89cron S20dkms_autoinstaller S90binfmt-support S20hotkey-setup S98usplash S20libchipcard-tools S99acpi-support S20lliurex-dkms-alsa-modules S99laptop-mode S20nfs-common S99rc.local S20polipo S99rmnologin S20powernowd S99timidity
• • • • • • • • • • • • • • •
rc4.d: README S20rsync S01policykit S20stunnel4 S05vbesave S20tcos-standalone S10acpid S20winbind S10sysklogd S20xdebconfigurator S10xserver-xorg-input-wacom S24hal S11klogd S25bluetooth S12dbus S25pulseaudio S14avahi-daemon S28NetworkManager S16ssh S30gdm S20apmd S30system-tools-backends S20apport S89atd S20clamav-freshclam S89cron
• • • • • • • •
S20cups S90binfmt-support S20dkms_autoinstaller S98usplash S20hotkey-setup S99acpi-support S20libchipcard-tools S99laptop-mode S20lliurex-dkms-alsa-modules S99rc.local S20nfs-common S99rmnologin S20polipo S99timidity S20powernowd
• • • • • • • • • • • • • • • • • • • • • • •
rc5.d: README S20rsync S01policykit S20stunnel4 S05vbesave S20tcos-standalone S10acpid S20winbind S10sysklogd S20xdebconfigurator S10xserver-xorg-input-wacom S24hal S11klogd S25bluetooth S12dbus S25pulseaudio S14avahi-daemon S28NetworkManager S16ssh S30gdm S20apmd S30system-tools-backends S20apport S50dansguardian S20clamav-freshclam S89atd S20cups S89cron S20dkms_autoinstaller S90binfmt-support S20hotkey-setup S98usplash S20libchipcard-tools S99acpi-support S20lliurex-dkms-alsa-modules S99laptop-mode S20nfs-common S99rc.local S20polipo S99rmnologin S20powernowd S99timidity
• • • • • • • • • • • • • • • • •
rc6.d: K01gdm K74bluetooth K01timidity K74dkms_autoinstaller K02usplash K86avahi-daemon K19dansguardian K91llxcfg-backend-daemon K20apmd K95llxcfg-init K20apport K99laptop-mode K20clamav-freshclam K99llxcfg K20libchipcard-tools README K20libnss-ldap S01linux-restricted-modules-common K20lliurex-dkms-alsa-modules S15wpa-ifupdown K20nfs-common S20sendsigs K20polipo S30urandom K20stunnel4 S31umountnfs.sh K20tcos-standalone S32portmap K20winbind S35networking
• • •
K25hwclock.sh S40umountfs K50alsa-utils S60umountroot K63mountoverflowtmp S90reboot
• • • • • • • • • • • • • • • • • • • • • • •
rcS.d: README S37mountoverflowtmp S01mountkernfs.sh S37udev-finish S02hostname.sh S39ufw S06keyboard-setup S40networking S07linux-restricted-modules-common S43portmap S08hwclockfirst.sh S44nfs-common S08loopback S45mountnfs.sh S10udev S46mountnfs-bootclean.sh S11hwclock.sh S49console-setup S11mountdevsubfs.sh S55bootmisc.sh S13pcmciautils S55dns-clean S15module-init-tools S55pppd-dns S17procps S55urandom S20checkroot.sh S60llx-usplash-timeout60 S22mtab.sh S70screen-cleanup S25brltty S70x11-common S29llx-usplash-timeout29 S90console-screen.kbd.sh S30checkfs.sh S91llxcfg-backend-daemon S35mountall.sh S95llxcfg-init S36mountall-bootclean.sh S99llxcfg S37apparmor
• • •
resolvconf: update-libc.d
• • •
samba: dhcp.conf gdbcommands
smb.conf
• • • • • • • • • • • • • • • •
sane.d: abaton.conf dll.d ma1509.conf sm3840.conf agfafocus.conf dmc.conf matsushita.conf snapscan.conf apple.conf epjitsu.conf microtek2.conf sp15c.conf artec.conf epson2.conf microtek.conf st400.conf artec_eplus48u.conf epson.conf mustek.conf stv680.conf avision.conf fujitsu.conf mustek_pp.conf tamarack.conf bh.conf genesys.conf mustek_usb.conf teco1.conf canon630u.conf gphoto2.conf nec.conf teco2.conf canon.conf gt68xx.conf net.conf teco3.conf canon_pp.conf hp3900.conf pie.conf test.conf cardscan.conf hp4200.conf plustek.conf u12.conf coolscan2.conf hp5400.conf plustek_pp.conf umax1220u.conf coolscan.conf hp.conf qcam.conf umax.conf dc210.conf hpsj5s.conf ricoh.conf umax_pp.conf
• • • •
dc240.conf hs2p.conf s9036.conf dc25.conf ibm.conf saned.conf dell1600n_net.conf leo.conf sceptre.conf dll.conf lexmark.conf sharp.conf
v4l.conf
• • •
scim: config global
• • • •
security: access.conf limits.conf namespace.init pam_env.conf time.conf group.conf namespace.conf opasswd sepermit.conf
• • • • •
sgml: catalog docbook-xml.cat metacity-common.cat xml-core.cat catalog.old docbook-xml.cat.old sgml-data.cat docbook-xml festival.cat sgml-data.cat.old
• • •
skel: UserFiles
• • •
sound: events
• • • •
ssh: moduli sshd_config ssh_host_dsa_key.pub ssh_host_rsa_key.pub ssh_config ssh_host_dsa_key ssh_host_rsa_key
• • •
ssl: certs openssl.cnf private
• • •
stunnel: stunnel.conf
• • • •
sysctl.d: 10-console-messages.conf 10-process-security.conf README 10-network-security.conf 30-tracker.conf wine.sysctl.conf
• • •
udev: libchipcard.rules libmtp8.rules rules.d udev.conf
• • • •
ufw: after6.rules applications.d before.rules ufw.conf after.rules before6.rules sysctl.conf
• • •
update-manager: meta-release release-upgrades
• •
update-notifier:
• • •
vga: dvorak-us.keymap libvga.config libvga.et4000
null.keymap
• • •
vim: vimrc vimrc.tiny
• • •
w3m: config mailcap
• • •
wildmidi: wildmidi.cfg
• • •
wpa_supplicant: functions.sh ifupdown.sh
• •
xdebconfigurator:
• • • •
xdg: autostart lxsession openbox user-dirs.defaults compiz menus user-dirs.conf
• • • • •
xml: catalog docbook-xml.xml.old sgml-data.xml.old catalog.old rarian-compat.xml xml-core.xml docbook-xml.xml sgml-data.xml xml-core.xml.old
• • •
xulrunner-1.9: system-greprefs.js
• • •
yasr: yasr.conf
15. Listar todos los archivos del directorio usr y sus subdirectorios. Con ls -R se listan todos los archivos incluidos los de los subdirectorios. Debido a su gran cantidad no los copiare. 16. Muestra todos los archivos del directorio actual que son imágenes jpg. Con find /usr -name *.jpg (el find se escribe, find+-name+nombre del archivo) busco todos los archivos acabados en .jpg. Són denmasiados para copiarlos. 17. Muestra todos los archivos del directorio /usr/bin que empiecen por la letra j. Con cd /usr/bin voy al directorio y una vez dentro con ls j* listo todos los archivos que empiezan por j. Són: java jclic jexec jmfinit
jockey-gtk jpegtopnm java_vm jclicauthor jhindexer jmfregistry join jpegtran javaws jcontrol jhsearch jmstudio jpegexiforient js 18. Muestra todos los archivos del directorio del usuario actual, incluyendo los archivos ocultos, con toda la información de cada uno (permisos, tamaño, etc.) Con ls -a (archivos ocultos) -l(formato largo:permisos, tamaño, etc) listo los archivos de forma detallada, incluidos los ocultos. 19. Muestra los archivos que empiecen por k y tengan una a en la tercera posición, dentro del directorio /usr/bin. Con ls k?a*, l istar todos lo archivos que empiezen por k tengan una segunda letra cualquiera de tercera letra la a y acaben como sea. Solamente es: kpasswd 20. Muestra los archivos del directorio /bin que terminen en n. Con ls n* listo todos los archivos que empiezan por n. Són: acpi_listen gtweakui-session prezip-bin autogen gvfs-open progman autoscan hp-align pulse-session catman hp-clean pwgen cdown hp-scan python chcon ijoin recode-sr-latin chfn join rlogin ck-launch-session jpegtran rpcgen clamscan launchpad-integration rpmsign column ldapmodrdn runcon cpan lliurex-cdd-version screen dcfujigreen lliurex-version seahorse-daemon dcfujiturn lxsession services-admin deborphan man sg_reassign dh_auto_clean mapscrn sg_rmsn dh_clean mcedit-debian sg_scan dh_installcron mcview-debian shares-admin dh_installemacsen mf-nowin shlibsign dh_installifupdown mpartition slogin dh_installman mren sockdown dh_lintian msgen splain dh_python neqn ssh-keygen dh_testversion openbox-gnome-session ssh-keyscan eqn openbox-kde-session syndaemon
esdmon openbox-session time-admin espeak-synthesis-driver.bin paman transmission evolution pamstretch-gen users-admin exifautotran pbmclean uuidgen gconfsharp2-schemagen pbmtoepson w3mman gda-run pbmtoicon wvVersion geqn pidgin xcursorgen gnome-doc-common pnminterp-gen xdg-desktop-icon gnome-keyring-daemon pnmmargin xdg-open gnome-open pod2man xdvi.bin gnome-session polkit-action xdvi-xaw.bin gnome-settings-daemon polkit-gnome-authorization xman gnucap-modelgen pon xtrapin gnucash-bin ppmbrighten zrun gtweakui-galeon ppmtowinicon 21. Muestra todos los archivos que hay en /etc y todos los que hay dentro de cada subdirectorio, de forma recursiva. Con cd /etc voy a el directorio /etc y una vez dentro con ls -R listo todo lo que hay dentro de cada subdirectorio, de forma recursiva. 22. Muestra todos los archivos de /usr/X11R6/bin ordenados por tamaño. Sólo debe aparecer el tamaño y el nombre de cada fichero, sin ninguna otra información adicional. Ls -l | cut -d '' '' -f9-14 23. Muestra el contenido del directorio actual. Desde el propio directorio con ls se muestra el contenido sin más detalles. 24. Muestra el contenido del directorio que está justo a un nivel superior. Con ../ ls se muestra el contenido del directorio superior. bin games include lib lib64 local sbin share src X11R6 25. ¿En qué día de la semana naciste?, utiliza la instrucción cal para averiguarlo. Con cal se muestra el mes del año que se quiera (el actual por defecto). De este modo con cal septiembre 1995 me dice : lu ma mi ju vi sá do 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Con esto puedo saber que el 2/9/95 era Sábado. 26. Cambiarse al directorio tmp. Con cd /tmp/ iria a la carpeta tmp este donde este ebn ese momento ya que esta es su ruta y con pwd lo verifico. 27. Verificar que el directorio actual ha cambiado. Con pwd verifico que estoy en tmp y no en /usr/X11R6/bin (directorio anterior) .
28. Mostrar el día y la hora actual. Con date se muestra (dia de la semana + mes + dia del mes + hora + zona horaria + año): mié nov 2 10:05:06 CET 2011 29. Con un solo comando posicionarse en el directorio HOME. Con cd /home ya que esta es la ruta absoluta de la carpeta home. 30. Verificar que se está en él. Con pwd se muestra eb que directorio te encuentras (pwd). 31. Listar todos los ficheros del directorio HOME mostrando su número de inodo. Con ls -id sobre el directorio se muestra el inodo relativo. 32. Borrar todos los archivos y directorios visibles de vuestro directorio HOME. Con rm -r * /home pero pone problemas ya que preguntavarias veces si estas seguro de querer borrarlo o no. 33. Crear la siguiente estructura de directorio a partir de vuestro directorio de trabajo (/home/userxx....). lliurex@host-10-0-2-130:~/Desktop$ mkdir userxx lliurex@host-10-0-2-130:~/Desktop$ cd userxx lliurex@host-10-0-2-130:~/Desktop/userxx$ mkdir programas lliurex@host-10-0-2-130:~/Desktop/userxx$ mkdir compiladores lliurex@host-10-0-2-130:~/Desktop/userxx$ mkdir pagina\ web lliurex@host-10-0-2-130:~/Desktop/userxx$ cd pagina\ web lliurex@host-10-0-2-130:~/Desktop/userxx/pagina web$ mkdir imagenes html lliurex@host-10-0-2-130:~/Desktop/userxx/pagina web$ cd .. lliurex@host-10-0-2-130:~/Desktop/userxx$ cd compiladores lliurex@host-10-0-2-130:~/Desktop/userxx/compiladores$ mkdir compi_c ejecutables lliurex@host-10-0-2-130:~/Desktop/userxx/compiladores$ cd .. lliurex@host-10-0-2-130:~/Desktop/userxx$ cd programas lliurex@host-10-0-2-130:~/Desktop/userxx/programas$ mkdir ptextos Base_datos lliurex@host-10-0-2-130:~/Desktop/userxx/programas$ cd ptextos lliurex@host-10-0-2-130:~/Desktop/userxx/programas/ptextos$ mkdir word wordstart lliurex@host-10-0-2-130:~/Desktop/userxx/programas/ptextos$ cd .. lliurex@host-10-0-2-130:~/Desktop/userxx/programas$ cd Base_datos lliurex@host-10-0-2-130:~/Desktop/userxx/programas/Base_datos$ mkdir acces proyectos
lliurex@host-10-0-2-130:~/Desktop/userxx/programas/Base_datos$ El resultado es:
34. ¿Donde te mueves cuando ejecutas estas órdenes?: a. cd a la carpeta personal b. cd / a la carpeta raíz c. cd ../ a la carpeta superior d. cd ../../ a la carpeta superior de la carpeta superior 36. Copiar los archivos que empiecen por a y terminan en d del directorio usr/sbin al directorio compi_c. cp /usr/sbin/a*d /home/administrador/compiladores/compi_c/
37. Realizar de nuevo el ejercicio 4, ahora los ficheros se sobreescribirán, busca la opción del comando copiar que te pregunte si quieres sobreescribir cada uno de los archivos. cp -i /usr/sbin/a*d /home/administrador/compiladores/compi_c/ 38. Copiar los archivos que empiecen por c, la 3a letra sea una t de /bin a ejecutables. cp /bin/c?t* /home/administrador/compiladores/ejecutables/ 39. Copiar los archivos que empiecen por c, la 3a letra sea una t de /bin a ejecutables.
cp /bin/c?t* /home/administrador/compiladores/ejecutables/
40. Sitúate en el directorio programas (cd /home/usrxx/programas). Una vez dentro copia todos los directorios contenidos en programas al directorio ejecutables. Usa direcciones relativas. lliurex@host-10-0-2-130:~/Desktop$ lliurex@host-10-0-2-130:~/Desktop$ cd /home/lliurex/Desktop/userxx/programas lliurex@host-10-0-2-130:~/Desktop/userxx/programas$ lliurex@host-10-0-2-130:~/Desktop/userxx/programas$ cp -r * /home/lliurex/
42. Visualizar los archivos ocultos de tu directorio. ¿Qué identificación tiene? Tiene la identificación “.” 43. Si esta situado en el directorio raíz, ¿cual de los siguientes comandos es incorrecto? (supóngase que existen los directorios) 1. cd ../maria/./practicas 2. cd maria/../juan/./juegos 3. cd /maria/../maria/./practicas 44. Listar recursivamente todos los archivos bajo el directorio /var. lliurex@host-10-0-2-131:~/Desktop$ ls -r /var tmp spool run opt mail log lock local lib games crash cache backups 45. Crea en tu directorio home los siguientes archivos vacios: touch carta_10 carta_11 carta_12 carta_21 carta_22 carta_23 carta_31 carta_32 carta_33 carta_40 carta_41 carta_42 47. Borrar del directorio actual los archivos carta_10 a carta_30 inclusive. lliurex@host-10-0-2-131:~/Desktop$ rm -i carta_[1-3][0-9] 48. Mueve los archivos de compi_c a proyectos . Comprueba que ya no existe en el directorio origen. lliurex@host-10-0-2-131:~/Desktop$ mv /compi_c/ /proyecyos/ 49. Crea un fichero llamado prueba1 con el comando touch en el directorio word. Renombra el fichero al nombre prueba2. CREAR-LO lliurex@host-10-0-2-131:~/Desktop$ touch /home/lliurex/Desktop/userxx/programas/ptextos/word/prueba1 RENOMBRAR-LO lliurex@host-10-0-2-131:~/Desktop$ cd userxx lliurex@host-10-0-2-131:~/Desktop/userxx$ cd programas lliurex@host-10-0-2-131:~/Desktop/userxx/programas$ cd ptextos lliurex@host-10-0-2-131:~/Desktop/userxx/programas/ptextos$ cd word lliurex@host-10-0-2-131:~/Desktop/userxx/programas/ptextos/word$ mv prueba1 prueba2
50. ¿Cual es tu directorio de arranque o directorio HOME?¿Existe algún archivo oculto?
El directorio HOME es aquel anterior a los usuarios. Los archivos ocultos son todos los que tienen un punto delante. lliurex@host-10-0-2-131:~/Desktop$ cd lliurex@host-10-0-2-131:~$ ls -a . .ICEauthority .. .icons 1r ESO.odt Imágenes .adobe .java archivo nuevo JClic Base_datos lliurex_art .bash_history lliurex.odt .bash_logout .local .bashrc .macromedia .cache mitexto.text caja1 .mozilla cambio climatico-clara tirado.odp .nautilus CAMINO.odt .openoffice.org carpeta33 .profile chirimoya.odt prueba_nivel_todos_grupos mar 1.doc cmcf.ppt (codificación no válida) ptextos .config .pulse currículum Ximo.doc .pulse-cookie .dbus Què és Java.odt Desktop .recently-used .dmrc .recently-used.xbel Documentos sakarias.odt .edu.xtec.properties .schoolsplay.rc ejecicios terminal.odt secreto ejemplo .ssh ejercicios de binarios .sudo_as_admin_successful .esd_auth texto.txt~ .evolution .themes fichero1.txt .thumbnails .fontconfig .tuxpaint .gconf .update-notifier .gconfd UserFiles .gftp Videos .ggz .viminfo .gnome2 .wapi .gnome2_private .wine .gnupg .Xauthority .gobby .xscreensaver-getimage.cache .gstreamer-0.10 .xsession-errors .gtk-bookmarks zad.odt .gvfs
51. Al hacer un ls, ¿como distingues cual es un fichero de un directorio? Por la extension y el color. 52. Sitúate en tu memoria USB (/media/USB DISK) y haz un listado de los ficheros con su tamaño en kb,Mb ..ect (no en bloques). cd /media/ tabulador cd nom del usb ls -h -l 53. Visualiza las 7 primeras lineas y las 12 últimas del fichero .profile. Esta echo en profile porque .profile no deja. lliurex@host-10-0-2-131:/etc$ head -n 7 profile # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ -d /etc/profile.d ]; then for i in /etc/profile.d/*.sh; do if [ -r $i ]; then . $i lliurex@host-10-0-2-131:/etc$ tail -n 12 profile . /etc/bash.bashrc fi else if [ "`id -u`" -eq 0 ]; then PS1='# ' else PS1='$ ' fi fi fi umask 022 54. Cuenta el número de caracteres que tiene la primera línea del fichero .profile (en una sola orden).
lliurex@host-10-0-2-131:/etc$ ls profile | wc -l 1 55. ¿Quién es el propietario del archivo /etc/passwd? lliurex@host-10-0-2-131:~/Desktop$ ls -l /etc/passwd -rw-r--r-- 1 root root 2224 2009-11-24 13:25 /etc/passwd
56. Visualiza información relacionada con tu sistema. lliurex@host-10-0-2-131:~/Desktop$ ls -l total 316 -rw-r--r-- 1 lliurex lliurex 76522 2011-11-17 11:14 aaa.odt -rw-r--r-- 1 lliurex lliurex 203201 2011-10-25 15:01 comandos_linux_eso.pdf -rw-r--r-- 1 lliurex lliurex 2439 2009-09-22 17:32 firefox.desktop -rw-r--r-- 1 lliurex lliurex 5920 2010-11-19 12:58 gnome-terminal.desktop drwxr-xr-x 5 lliurex lliurex 4096 2011-11-18 12:47 userxx -rwx------ 1 lliurex lliurex 15948 2011-11-18 12:34 ziikoo 57. Qué ordenes están relacionadas con uname? Y con passwd? DESCRIPTION uname Print certain system information. With no OPTION, same as -s. DESCRIPTION passwd The passwd command changes passwords for user accounts. A normal user may only change the password for his/her own account, while the superuser may change the password for any account. passwd also changes account information, such as the full name of the user, the user's login shell, or his/her password expiry date and interval. 58. Busca en que directorio se encuentra el fichero syslog. lliurex@host-10-0-2-131:~/Desktop$ find / -name syslog 2>/dev/null /var/log/syslog /var/log/installer/syslog 59. Cambiar el carácter a por A de dentro del fichero prueba.txt lliurex@host-10-0-2-131:~/Desktop$ tr a A < palabras.txt 60. Borra el carácter A de dentro del fichero palabras.txt lliurex@host-10-0-2-131:~/Desktop$tr -d A < palabras.txt 61. Busca que ficheros del directorio /etc contienen el nombre de tu usuario.
62. grep -i administrador /etc/*
63. Busca en que ficheros del directorio /etc contienen líneas que acabe con la plalabra bash. grep bash$ /etc/* 64. Busca en que ficheros de tu directorio home existe alguna línea que comienza por . Grep "^\." /home/administrador
65. Busca en tu directorio home los ficheros contienen alguna palabra que empieza por ho. 66. Busca en tu directorio personal los ficheros que contienen líneas que empiezan por vocal (ya sea mayúsculas o minúsculas). 67. Busca en el archivo palabras.txt mostrar: 1. a) líneas que empiecen con "a"; b) líneas que terminen con "l"; c) líneas que empiecen con "e" y terminen con "l". 3 Comandos básicos unix 68. Busca en el archivo historia1.txt mostrar. a) líneas que contengan la palabra "ganado"; b) líneas que contengan la palabra "gaucho" y "ganado"; c) líneas que contengan la palabra "ganado" pero no la palabra "vacuno". 1. grep "ganado" palabras.txt | grep -v “gaucho” 69. Busca los ficheros que en el directorio /var/log tenga la palabra mail en su nombre. 70. Busca los ficheros en tu directorio home que ocupen menos de 3k. 71. Busca los ficheros en el arbol de directorios que ocupen más de 70Mb. 72. Busca ficheros de los cuales tú no seas propietario cuyo nombre contenga la palabra examen y cópialos a tu carpeta personal. (En una sola orden). 73. En el fichero clientes hay líneas repetidas. En una única orden crea un fichero ordenado sin líneas repetidas. 74. Crear el archivo palabras.min con todas las palabras del archivo palabras.txt en minúsculas. (En una sola orden) 75. Se desea saber qué páginas de un servidor web son más accedidas. El archivo /var/log/apache/access.log contiene líneas del siguiente formato: 127.0.0.1 - - [25/Jul/2002:20:21:51 -0300] "GET /fabmelo/version7/modif_clave.php?nombre=pa232&clave=madrid HTTP/1.1" 200 1609 127.0.0.1 - - [25/Jul/2002:20:21:58 -0300] "POST /fabmelo/version7/menu.php HTTP/1.1" 200 1012 127.0.0.1 - - [25/Jul/2002:20:22:00 -0300] "GET /fabmelo/version7/presupuestos2.php?nombre=pa232&clave=belice HTTP/1.1" 200 642 76. Los accesos contienen la palabra GET, los nombres de las páginas terminan en espacio o en "?". Listar los nombres de páginas de las 20 más accedidas. 77. Vuelca el listado del directorio /var/log a un fichero llamado listado1 en tu directorio personal. 78. Crear el archivo hosts.txt con las 10 primeras líneas del archivo /etc/hosts crear el archivo group.txt con las 10 últimas líneas del archivo /etc/group . Verificar su contenido. Concatenar ambos archivos presentándolos juntos en pantalla. 79. Investiga para que sirve la orden banner y sus opciones. Pruébalo. 80. Abre dos terminales con 2 usuarios de tipo administrador: 1. Envia mensajes entre ellos con la orden write. 2. Envia mensajes con la orden wall. 3. ¿Cual es la diferencia entre las dos órdenes?