2. Unix overview
Operating system from 1960s which we can still find today in the modern operating systems,
examples are:
1- Mac OSX
2- Linux
3- iPhone
4- Android smartphones
The current running Unix version is from the GNU foundation, which stands for “GNU is not
Unix”.
GNU foundation have rewritten Unix to make it open source without legal restrictions.
Shell “Terminal” lets the user to type commands to do any operations in Unix systems. For
instance, users can navigate through files within the operating system or can make, remove
or rename files with those commands.
3. Unix commands
■ ls –This command lists all the folders paths and files within Unix system
■ pwd – “Present Working Directory”This command shows the current path
■ cd – “Change Directory”This command will let you enter directory you desire
■ cat –This commands lets you view the content of a file
■ mv –This command lets you move files
4. Unix commands
■ rm – “Remove”This command lets you delete a file
■ touch –This command lets you create new file
■ echo –This commands projects what you type as a message
■ du – “Disk Usage”This commands lets you know how much space file taking
5. Unix commands
■ clear – “CTRL + L”This command lets you clear your terminal
■ cd ~ -This command is a shortcut to take you into home
■ cd .. –This command will take you two folder above your current location
■ mkdir –This command will create a directory “Folder”
6. Unix commands
■ cp –This command lets you copy a file
■ find –This command is used to search and locate the list of files and directories
■ man – “Manual”This command gives you helpful information about a command
7. Unix commands
■ head –This command shows first few lines of a file
■ tail –This command shows last few lines of a file
■ vi –This command will make you edit the lines of a file