MDRC-Dev > Development Cheat Sheet
SVN Commands

The following commands are the most basic functions that are commonaly used to work with our subversion repository.


Local Checkout svn co file:///home/svn/mdrc/
Remote Checkout svn co svn+ssh://USER@mdrcdev.rit.edu/home/svn/mdrc
Update Repository svn up
Commit A Change svn ci


Helpful SSH

It is possible to save your public key on the server so that you are not prompted for your password when remoting in.


Generate Key[Simply hit enter] ssh-keygen


Unix Commands

Below are very common commands used when working in a unix development environment.


Display the manual for a program man <commandName>
Display information on a program info <commandName>
Translate acronyms wtf <acronym>
Find out what others users are logged in who
Display detailed information about a user finger <name>
Very simple text editor nano <fileName>
Display the contents of a file less <fileName>
Very powerful text editor vim <fileName>
Very user friendly text editor emacs <fileName>
Compile a C program gcc <sourceFile> -o <outputFile>
Compile a C++ program g++ <sourceFile> -o <outputFile>
Compile a large program make
Display your disk usage quota -s
List files in directory ls
Change directory cd <directory>
Delete a file rm <fileName>
Delete a directory rm -rf <directory>
Create a blank file touch <fileName>
View running processes htop
List running programs ps
Terminate a running program kill <pid>
Execute a command at regular intervals watch -n <seconds> <command>


Unix Key-combos

There are several key combos that are hard to avoid while using a unix machine, here are a few.


End program CTRL+C
Force quit CTRL+Z
End input stream CTRL+D
Autocomplete file or command name TAB