Listing files in Linux

It possible to list files and folders in a command line interface (CLI) in Linux (or BSD, or Mac) using ls command. ls command has a number of command options. I will not list these here, you can lookup help for this command using --help option. ls stands for list.

There are two special directories:

. (single dot) represents current directory.

.. (two dots) represent parent directory.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

goto PHP operator

Data at rest protection