Recent Posts

Linux by examples

Linux by examples

Return To Blog Listing

We explain every GNU/Linux command by examples. It includes tips and tricks, howto for linux commands.

Search This Blog's Tags For:

Recent Posts Tagged With 'ls'

  • fstab with uuid

    Posted on Wednesday October 10th, 2007 at 10:35 in ls, blkid, vol_id

    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)

    Posted on Thursday September 20th, 2007 at 11:24 in common, ls

    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

    Posted on Wednesday September 19th, 2007 at 10:49 in column, find, text manipulation, grep, bash, ls

    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...