Herramientas de usuario

Herramientas del sitio


informatica:sistemas_operativos:linux:coreutils:ls

¡Esta es una revisión vieja del documento!


ls

Programa que permite listar ficheros y directorios

Ejemplo:

$ ls -l /etc/
total 1384
-rw-r--r--.  1 root root     16 mar 10  2016 adjtime
-rw-r--r--.  1 root root   1518 jun  7  2013 aliases
-rw-r--r--.  1 root root  12288 feb 23  2017 aliases.db
drwxr-xr-x.  2 root root   4096 oct  9  2018 alternatives
-rw-------.  1 root root    541 abr 21  2015 anacrontab
-rw-r--r--.  1 root root     55 sep 16  2014 asound.conf
-rw-r--r--.  1 root root      5 mar 10  2016 at.allow
drwxr-x---.  3 root root     41 feb 20  2017 audisp
drwxr-x---.  3 root root    102 feb 20  2017 audit
drwxr-xr-x.  2 root root     33 mar 10  2016 avahi
-rw-r--r--.  1 root root   2863 mar 10  2016 bash.20150601
drwxr-xr-x.  2 root root   4096 feb 20  2017 bash_completion.d
-rw-r--r--.  1 root root   2863 mar 10  2016 bashrc
-rw-r--r--.  1 root root   2835 mar 10  2016 bashrc.20160310

Colores

ls toma los colores que estén definidos en la variable de entorno LS_COLORS

informatica/sistemas_operativos/linux/coreutils/ls.1629800752.txt.gz · Última modificación: por tempwin