Introduction to Linux
Linux is an operation system.Operating system means it is a system software which manages computer hardware and software.Example for the operation system are,
- mac OS
- UNIX
- Linux - Ubuntu
- Microsoft windows
Linux-Ubuntu
It is a type of operating system.Terminal
It is a command line-interface where we can type and execute text based commands.Basic Linux commands
01.ls - List command
It used to list down the files on the current directory.
02.cd - Change Directory
It proceed the user to change between two directories.
03.mv - Move
It allow the user to move the file or directory.
04.man - manual command
05.mkdir - make directory
It used to create a new document.
06.rmdir - remove directory
It used to remove a document.
07.clear - Clear a terminal for afresh start.
08.cd - Back
It back to the initial position.
09. cd .. - one step back
It back to one step back.
10.rm - delete
It delete the file.
11.tree - Display files and folders in an order.
12.touch - create a file like .html .txt
13.du - show how much space each file take.
13.cp - copy source file to target file.
14.exit - exit from the terminal.
15.if - execute a command conditionally.
16.look - shows any line in a file containing given string in the begining.
17.source - Run commands from a specified file.
18.lsof - list open files.
19.su - Changer user id
20.ul - underline text
21.password - user may change their own password at any time using terminal.
22.history - Show the command history
23.dd - convert and copy files.
24.du - Show how much space each file takes up
25.ln - creates an internal link.
26.find - search for a file in a given directory.
27.less - used to browse the content of the specified file.
28.diff - compares the contents of any two file.
29.date - displays the current system time.
30.pwd - Display the pathname of the current director.
The following picture description will execute the above cammans:
![]() |
| ls command |
![]() | |
| cd command |
![]() | |||
| mkdir command |
![]() |
| rmdir command |
![]() |
| cd .. - one step back |






No comments: