Recent Posts
Linux by examples
Return To Blog Listing
We explain every GNU/Linux command by examples. It includes tips and tricks, howto for linux commands.
Recent Posts Tagged With 'ls'
fstab with uuid
When linux system starts, auto mounting partition will be done by refering to /etc/fstab. The file /etc/fstab will list down how you like the system to mount your partition. For examples, # <file system> <mount point> <type>...
How to list just directories ( the correct way)
I have wrote a post stated that there are no direct ways to list just directories, and wrote a bash scripts using find to list the directories. I had made a WRONG statement. We can list just directories with ls -d, thanks to Ntropia who leaves me a c...
How to list just directories
There are no such direct ways to list only directories using the UNIX/ linux famous command ls. Anyway with command combo’s, we can achieve the goal in two ways shown as below. 1. use ls -l with grep 2. use find -type d ( The statement above is...
