In this tutorial, we are going to cover 17 basic SSH commands that you should know about. By learning them, you will understand how to navigate and manage your VPS or server using the command line.
The List of Basic SSH Commands
In this part, we will go through popular SSH commands, complete with their syntaxes and useful options.
Here’s a quick look of the basic SSH commands that we’ll cover in this article:
|Show directory contents (list the names of files).
|Create a new folder (directory).
|Create a new file.
|Remove a file.
|Show contents of a file.
|Show current directory (full path to where you are right now).
|Search for a specific phrase in file/lines.
|Search files and directories.
|Show last 50 used commands.
|Clear the terminal screen.
|Create & Unpack compressed archives.
|Download files from the internet.
|Get file size.
- Last updated 4 years ago