A Bash cheat sheet
Command | Description |
---|---|
cd |
Change directory
|
ls |
List files in directory
|
ssh <username>@<server address> |
Make a secure connection to server |
pwd |
Print working directory |
less <filename> |
Look at text file help for navigation quit |
scp <source> <target> |
Copy files between local and server Give file path on server as |
exit |
Close session (either to server or to local terminal) |
history |
Get list of command history Follow with
|
|
Unfortunately, it is impossible to predict how to get help for a <command> , try any one of these until one works |
screen |
Create a virtual terminal that continues to run jobs even when your connection to the server terminates
To leave a session but keep it running, first ctrl+activate commands to |