14 useful ‘ls’ command examples for linux beginners

Pradeep Kumar

I am a huge fan of open source and love to share How To's tutorials on Linux, Cloud and DevOps. I have been working as Linux Consultant, Cloud & DevOps Engineer since 2010

You may also like...

2 Responses

  1. Ls DashF says:

    Please try and be comprehensive. The -F flag also displays | (pipe) when the file is a… pipe. Example:

    $ mkfifo foo
    $ ls -F foo
    foo|

  2. RoseHosting.com says:

    also the ‘-1’ argument to ‘ls’ is nice when you need to list one file per line. for example:

    $ ls -1 ~/

Leave a Reply

Your email address will not be published. Required fields are marked *