Quick reference for shell commands in the Cloud Basics articles
Although you can set up your VM with a remote desktop (see the Nectar Tutorials), the most efficient way to use your linux VM is by command-line.
There are some excellent tutorials for basic shell commands (also called unix or bash commands). Codecademy offers an excellent, free, interactive tutorial that you can complete within your browser on any operating system.
Another good resource particularly for researchers is 10 Simple Linux Commands for manipulating files.
Here are some particular commands used in the Cloud Basics articles, for quick reference.
Commands to use on your Mac/Linux to set up your NeCTAR connection
|generate a keypair locally|
|secure your private key|
|SSH access to the VM|
Commands to enter on your VM console during set-up
|set a password for user 'ubuntu'|
|make the ephemeral disk writable|
|format a new, empty volume|
|create an empty directory for the volume|
|mount the volume|
|make the mounted volume writable|
|list the block storage|
|display the disk usage|
|display directory and file sizes|
|activity monitor for your VM|
|list the running processes on your VM (with PID#)|
|terminate the process by PID number|
|control + 'c'||stops a process running in your terminal|
|updates the list of packages available to install|
|upgrades the installed packages|
|search for a package to install|
|install a package|
|keep a job running in the background|
|list the active jobs (with job numbers)|
|control + 'z'||pause a job running in the foreground|
|detach a (paused) job from the terminal session (n=job number)|
|move a (paused) job to the background (n=job number)|