List of Basic SSH Commands:
pscp "C:\Users\Zafar Hayat\ac.txt" root@111.111.111:/home/admi.com/public_htm/public/images/test1
| SSH Command | Explanation |
|---|---|
ls -la | Show directory contents (list the names of files). -la with rights |
cd | Change Directory. |
mkdir | Create a new folder (directory). |
touch | Create a new file. |
rm/rmdir | Remove a file./ To remove forlder |
cat | Show contents of a file. |
pwd | Show current directory (full path to where you are right now). |
cp | Copy file/folder. |
mv | Move file/folder. |
grep | Search for a specific phrase in file/lines. |
find | Search files and directories. |
vi/nano | Text editors. |
history | Show last 50 used commands. |
clear | Clear the terminal screen. |
tar | Create & Unpack compressed archives. |
wget | Download files from the internet. |
du | Get file size. To zip file to unzip file |
Comments
Post a Comment