23.10.2012 Views

Curso+de+Linux+para+novatos +brutos+y+extremadamente+torpes

Curso+de+Linux+para+novatos +brutos+y+extremadamente+torpes

Curso+de+Linux+para+novatos +brutos+y+extremadamente+torpes

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

w-r--r-- 1 acastro acastro 3 abr 16 20:04 kk1<br />

rw-r--r-- 1 acastro acastro 3 abr 16 20:04 kk2<br />

rw-r--r-- 1 acastro acastro 3 abr 16 20:04 kk3<br />

$ # Con el comando tree y la opción -d podemos ver la estructura<br />

$ # simplemente con los directorios y como están colocados.<br />

$ tree -d<br />

.<br />

`-- kkkk<br />

`-- kkkk<br />

2 directories<br />

$ # Para ver la estructura completa usamos el comando<br />

$ # tree sin opciones. Vemos ahora tambien los ficheros.<br />

$ tree<br />

.<br />

|-- kk1<br />

|-- kk2<br />

|-- kk3<br />

`-- kkkk<br />

|-- kk1<br />

|-- kk2<br />

|-- kk3<br />

`-- kkkk<br />

|-- kk1<br />

|-- kk2<br />

`-- kk3<br />

2 directories, 9 files<br />

$ # Con find podemos buscar usando muchos criterios. Por ejemplo<br />

$ # por nombre.<br />

$ find . -name 'kk*'<br />

./kk1<br />

./kk2<br />

./kk3<br />

./kkkk<br />

./kkkk/kk1<br />

./kkkk/kk2<br />

./kkkk/kk3<br />

./kkkk/kkkk<br />

./kkkk/kkkk/kk1<br />

./kkkk/kkkk/kk2<br />

./kkkk/kkkk/kk3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!