December 2018
Beginner
320 pages
8h 57m
English
The ls command with the -l option is used to get detailed information on the directory contents, which includes permissions and ownership. It will list the detailed information of all the files that reside in the directory. To prevent the descent into the directory and view the information of the directory itself, use the -d option with the ls command, as shown in the following screenshot:

The first character in a long listing tells us the type of file. A hyphen (-) sign here represents a regular file that can contain data or text, or it can be a binary file. The following table lists various types ...
Read now
Unlock full access