Linux Commands

1. cd- It stands for change directory.
Usage: if you are at some directory on terminal and want to move to another
directory then use cd pathname/path.

2. sudo -super user do. Means if the permission of a file is given to owner the others can access by using sudo.
3. locate- it is used to search for a file.
4. tail- it is used to print last 10 lines of each files to standard output.

5. cp – copy paste

6. grep -r “filename” – ¬†Search for the selected word in whole document.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s