You are on page 1of 6

CS211

Md Haque
mdhaque@cs.rutgers.edu
Office hours:
Thu 4:30-5:30pm
BE 252

Assignments
ilab machines
www.cs.rutgers.edu/resources/systems/ilab/
iLab lab rooms in Hill Center: 248, 250, and 252

OS: linux
Language: C, Assembly
Nano, Vi, Emacs
Makefile

ilab and Linux


Getting an account
Choose one of the machines from:
www.cs.rutgers.edu/resources/systems/ilab/

Login
ssh <username>@<ilab machine>.rutgers.edu
ex.: ssh mdhaque@java.cs.rutgers.edu

Creating a directory
mkdir <dir name>
ex.: mkdir cs211

ilab and Linux


Going inside the directory you have just created
cd cs211

Creating a file
touch filename.c
vi filename.c

Other useful commands


ls, cat, less/more, head, wc

ilab and Linux


Compile and Execute
gcc filename.c
./a.out

Transferring files
scp <file name> <login>@<ilab
machine>.rutgers.edu:~/cs211/
ex.: scp pa1.tar mdhaque@java.cs.rutgers.edu:~/cs211/

ilab and Windows


Rutgers software

Putty
http://www.putty.org/

winSCP
Setting up Eclipse CDT on Windows and Mac
OS X:
http://max.berger.name/howto/cdt/cdt.jsp

You might also like