Here we go to discuss about basic commands of Linux. Most them don’t know how to access the linux in command line mode. Here i give basic commands its very useful to you.
Command | Description and Examples |
Cd | Changing Directory
$ cd directory name To change one directory to another directory using this command. This command will help you to change directory. $ cd .. Used to go back your previous directory . It is important that the space be between the cd and the .. $ cd - Its shows path of your directory where you stayed and where you from. $ cd ../../ Its would go back two directories. |
Mkdir | Making new Directory
$ mkdir directory name Used this command to create new directory.
|
Ls | List directory contents
$ ls This command shows list directory of contents. $ ls -l Its shows long listing format of your directory contents. $ ls -a Used this command its shows hidden files of your directory. |
Pwd | Present working Directory
$ pwd It shows where you are in linux directory
|
Cp | Copy
$ cp source-file destination-file
Multiple file copy at same time $ cp file1 file2 file3 /dir
|