21 Most Used Commands in SSH and Linux

Richard 3 Min Read
21 Most Used Commands in SSH and Linux

In this section, we will look at 21 Most Used Commands in SSH and Linux.

Most Common Used Commands in SSH and Linux

Here are some simple but commonly used commands in ssh:

1) cd folder : Go to the destination folder

2) cd~ : Go to the home directory

3) cd.. : Navigate to a higher level folder

4) pwd: Show full path of current folder

5) ls : Lists all folders and files in a folder

6) cp file newfile : Copy and rename file

7) cp file directory/file : Copy file to another folder

8) mv file directory/file : Move a file to another folder completely

9) mv directory1/ alldirectory : Move one folder to another

10) /mv directory.. : Move a folder to a higher level

Recommended Article: How to secure Linux VPS [Quick method]


11) rm file1 : Delete a file

12) rm* : Delete all files within a folder

13) Extension rm.* : Delete all files with special extension

14) mkdir directoryname : Build a directory

15) chmod permission filename : Change the access level of a file

Example: chmod 777 config.php

16) chown owner:owner filename : Change the owner of a file

Example: chown admin:admin config.php

17) wget filename : Download URL

18) w : See the server load in a moment

19) top : View server loads continuously

20) exit : Exit the application environment

21) grep [text] [filename] : Search for a text in a specific file

Good Luck.

How useful was this post?

Click on a star to rate it!

Average rating 2.5 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

View More Posts
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way


7 days a week, 24 hours a day