Shell and DoC Systems, Lab 1
The Linux Terminal and Scientia
Chapter 2: Directories and files
Manuals
To find more detailed information about ls
, type:
username@MACHINE:~$ man ls
The command man
opens the manual page for a given program. This
gives the detailed behaviour, and all options, for the program.
Scroll up and down through the manual pages using ↑ and ↓. Exit the manual page using Q.
Exercise 6
- Use the manual page for
ls
to find how to sort its output by file extension, and then do this for/etc
. - Use the manpage for
ls
to find out how to list its output by order of date modified, and then do this for/etc
. - What does
mkdir
do? Use its manpage to find out.