Skip to content

Instantly share code, notes, and snippets.

@htasirx
Last active November 6, 2019 09:57
Show Gist options
  • Save htasirx/4886541dc788f40b2501b5de58b16072 to your computer and use it in GitHub Desktop.
Save htasirx/4886541dc788f40b2501b5de58b16072 to your computer and use it in GitHub Desktop.
Basic SSH Commands List

cd Change Directory.

mkdir Create a new folder (directory).

touch Create a new file.

rm Remove a file.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment