Linux ls Command Simply Explained
The ls command has multiple options for displaying attributes on files. The most common and useful are – l (long listing format), -a (all files, includes hidden files), and –R (recursive, to include the contents of all sub-directories).
ls -l Example
ls -a Example
The two special directories at the top of the listing refer to the current directory (.) and the parent directory (..) These special directories exist in every directory on the system. Their usefulness will become apparent with the file management commands.
ls -R Example
For More Details see the Man Page
The ls command has multiple options for displaying attributes on files. The most common and useful are – l (long listing format), -a (all files, includes hidden files), and –R (recursive, to include the contents of all sub-directories).
ls -l Example
ls -a Example
The two special directories at the top of the listing refer to the current directory (.) and the parent directory (..) These special directories exist in every directory on the system. Their usefulness will become apparent with the file management commands.
ls -R Example
For More Details see the Man Page
Tech info |
Comments
Post a Comment