Sidebar

x
  1. Arsal Ahmed
  2. General Discussion
  3. Thursday, 24 May 2018
  4.  Subscribe via email
Hello Guys,
There are some useful commands for VPS and also good for beginners!


1. Used for Checking RAM!

free -m


2. Used for Checking SSD/HDD

df -h


3. Used for Switching directories.

cd [ folder/file name ]


4. Used for making Directory.

mkdir [ folder name ]


5. Used for moving Files or Folder

mv [ filename or folder ] [ New folder or Location ]


6. Renaming File or folder

mv [ old name ] [ new name ]


7. Copy files or folders

cp [ file or folder ] [ new location or folder ]


8. Removing/Delete files.

rm -rf


9. Checking files and folders in which directory in you are.

ls


10. Download any file or URL

wget [ filename or URL ]


11. Changing your VPS/SSH password

passwd


12. Giving folder/file permissions.

chmod -777 [ filename or folder ]


13. Unzip zip files!

unzip [ filename ]


14. Creating or extracting tar commands example:

Create a new tar archive.
tar cvf archive_name.tar dirname/

Extract from an existing tar archive.
tar xvf archive_name.tar


15. Create or Extract gzip files:

To create a *.gz compressed file:
$ gzip test.txt

To uncompress a *.gz file:
$ gzip -d test.txt.gz


16. Checking the users controlling your VPS/accounts.

whoami


18. To get the current working directory of a process.

pwdx [process ID]


18. Checking network status.

netstat


19. Checking VPS Running programs!

top


20. Creating a manually document file.

touch [ filename with extension ]


ALL THESE 20 Commands are Very useful.. and very helpful.
THANKS FOR Reading!
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
really good list, thank you!
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
i think this topic should send in blog!
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
ty arsal . this is good list for newborns
Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,jpeg,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.