October 3rd, 2019
Set of programs which make the computer work.
The UNIX operating system is made up of three parts:
The kernel of UNIX is the hub of the operating system:
The kernel wraps the different hardware. No other software can interact with the hardware.
Programs have to ask to the kernel to access the hardware
When a user logs in
$
$
All the files are grouped together in the directory structure
/
In the diagram above, we see that the home directory of the user ee51vn
contains two sub-directories (docs
and pics
) and a file called report.doc
The full path to the file report.doc
is /home/its/ug1/ee51vn/report.doc
ls
(list)When you first login, your current working directory is your home directory
To find out what is in your home directory, type
$ ls
The ls
command ( lowercase L and lowercase S ) lists the contents of your current working directory.
ls
commandIn that case, the UNIX prompt will be returned
ls
does not show all the files but only those ones whose name does not begin with a dot .
Files beginning with a dot .
are known as hidden files and usually contain important program configuration information.
They are hidden because you should not change them unless you are very familiar with UNIX!!!
ls
is an example of a command which can take options: -a
is an example of an option.
The options change the behaviour of the command.
There are online manual pages that tell you which options a particular command can take, and how each option modifies the behaviour of the command
In the old times, people looked it in the “Manual”
Later people realized that you can have the manual in digital form, inside the computer
To see the manual page of ls
, use the command man ls
When a user logs in
$
$
This class is a derived work from http://www.ee.surrey.ac.uk/Teaching/Unix/
M.Stonebank@surrey.ac.uk, © 9th October 2000
Licensed under a Creative Commons License
Images from: archive.computerhistory.org
, staff.salisbury.edu/~rafantini