User Tools

Site Tools


ssh_commands

SSH Commands

SSH are commands you can input from the terminal in Linux or OSX, or from an SSH client such as PuTTY in Windows

Deleting Files and Directories

rm -r -f DirectoryName

If you're inside the directory already, you can delete the contents inside of it: Warning you must be INSIDE the directory otherwise you could delete a hell of a lot more than you wanted.

rm -r -f DirectoryName

Zipping Files

Zip up a directory, creating zip file from within it's parent

zip -r fileNameYouChoose.zip FolderNameChoose

If you're in a directory already and want to zip it's contents:

zip -r fileNameYouChoose.zip *

ssh_commands.txt · Last modified: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki