Computer Architecture Recitation

6
 CS211 Md Haque [email protected] Office hours: Thu 4:30-5:30 pm BE 252

description

C programming language, ssh authentication

Transcript of Computer Architecture Recitation

  • CS211

    Md [email protected]

    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 @.rutgers.edu

    ex.: ssh [email protected]

    Creating a directory mkdir

    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 @.rutgers.edu:~/cs211/

    ex.: scp pa1.tar [email protected]:~/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