14 useful ‘ls’ command examples for linux beginners

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 *