Slide 2.9: The Unix Slide 2.11: Advanced Unix shell commands Home |
The shell is the Unix command interpreter used to pass commands to an operating system; so called because it is the part of the operating system that interfaces with the outside world. |
date
command prints the date and time.
ls
(“list”) command lists status information for files and directory contents.
pwd
(“print working directory”) command tells you where you are in the file system by printing the current working directory.
Command | Description |
---|---|
man |
Finds and displays reference manual pages. |
cd |
Changes the current working directory. |
mkdir |
Makes directories |
chmod |
Changes the permissions mode of a file. |
more/page |
Browses or pages through a text file. |
cp |
Copies files |
mv |
Moves files. |
grep |
Search a file for a pattern. |
rm/rmdir |
Removes directory entries. |