| Command |
Description |
|
# last reboot |
show history reboot [man] |
|
# ldd /usr/bin/ssh |
show shared libraries required by ssh program [man] |
|
# less file1 |
similar to 'more' command but which allows backward movement in the file as well as forward movement [man] |
|
# ln -s file1 lnk1 |
create a symbolic link to file or directory [man] |
|
# ln file1 lnk1 |
create a physical link to file or directory [man] |
|
# locate \*.ps |
find files with the '.ps' extension - first run 'updatedb' command [man] |
|
# logout |
leaving session [man] |
|
# ls |
view files of directory [man] |
|
# ls -F |
view files of directory [man] |
|
# ls -l |
show details of files and directory [man] |
|
# ls -a |
show hidden files [man] |
|
# ls *[0-9]* |
show files and directory containing numbers [man] |
|
# ls -lSr |more |
show size of the files and directories ordered by size [man] |
|
# ls -lh |
show permits on files [man] |
|
# ls /tmp | pr -T5 -W$COLUMNS |
divide terminal into 5 columns [man] |
|
# lsattr |
show specials attributes [man] |
|
# lsmod |
display kernel loaded [man] |
|
# lsof -p process_id |
display a list of files opened by processes [man] |
|
# lsof /home/user1 |
displays a list of open files in a given path system [man] |
|
# lspci -tv |
display PCI devices [man] |
|
# lstree |
show files and directories in a tree starting from root(2) [man] |
|
# lsusb -tv |
show USB devices [man] |