ls
If you want to send us your comments, please do so. Thanks
More on comments
ls
exa is a modern replacement for ls
ls /mnt/path/
lists filenames without path
ls /mnt/path/*
lists filenames with full path
Times
atime | ls -lu | Time last accessed |
ctime | ls -lc | Modification time |
mtime | ls -l |
Coloring
Coloring in ls is set to on with
ls --color=auto
This can be made permanent by adding
# enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto --group-directories-first' fi
to ~/.bashrc . Directories will be shown first in the ls output due to the --group-directories-first option
The meaning of the colors can be found here: What causes this green background in ls output? and here: Where is color of ls command defined?
Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy
RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2024 Webevaluation.nl and the authors
Changes reserved.
ls.txt · Last modified: 17-05-2023 01:11 by wim