Skip to main content

Command Reference

Shell Interface

Welcome to the live command reference! Here you can securely access our login server via SSH and run commands to manage your account, edit a website, or work on our server. Below is a list of account management commands with a brief description of what they do and how to use them. Simply type in a command and hit enter to run it. To log out, run the command exit.

OCF commands

Key: ARGUMENT [optioanal]

CommandDescription
how SCRIPTShows the source code for a script
makehttpPuts a shortcut to your web directory in your home folder
makemysqlGenerates a new random password for your database, creating the database if it does not exist
paperShows how many pages you can currently print
update-emailPrompts you to set a contact email address for your OCF account

File commands

For convenience, here is a very basic listing of commands to manage files. For a more complete listing, see for example Wikipedia. For more information on a specific command, run man COMMAND.

Key: ARGUMENT [optioanal]

CommandDescription
cd DIRECTORYChanges the current directory to a new one
cp [-r] SOURCE DESTCopies a file. The -r option allows for copying directories.
less FILELets you view the contents of a text file
ls [FILE]Lists information about files and directories
mkdir DIRECTORYCreates a new directory
nano FILELets you edit a text file with a basic interface
mv SOURCE DESTMoves or renames a file or folder
rm [-r] FILEDeletes a file. The -r option allows for deleting non-empty directories.
rmdir DIRECTORYDeletes an empty directory. Safer than rm -r.