Useful Programming/SysAdmin Tips for the novice


Linux

   System configuration:
    cat /proc/cpuinfo
    cat /proc/meminfo

   Bootup message log
    dmsg

   Manual install from RPM
    rpm -Uhv lala.rpm

   Locating RPM package(s) that contain lala
    rpm -qa |grep lala

   Listing contents of lala.tar
    tar -tvf lala.tar

   Deleting files recursively
    find . -type f -name 'lala.lala' -print | xargs rm -f

    System updates
    updatedb
    apt-get update
    apt-get dist-upgrade
    apt-get upgrade
    apt-get install <package>
    apt-get remove <package>

   Creating new users
    useradd -p blah <login>
    cd /var/yp
    make
    cd /home/<login>
    yppasswd <login>

    License management for Gauss
    ./lmgrd -c gauss.lic -l lmgrd.dl

    Simultaneous license management for Gauss/Matlab
    ./lmgrd -c license_file_directory. license_file_directory should contain both licenses as .lic files. Use "kill -s SIGKILL" to remove all active/dead processes (lmgrd, atechlm, MLM, lm_matlab).

   Emacs speedbar
    Alt + x speedbar

    Emacs fonts
   Shift + left mouse button (keep pressed)

Solaris/SunOS

   Invoking OpenBoot
    STOP+A
 

SGI/IRIX
 

Windows

    Cygwin

    website: http://www.cygwin.com
    changing window managers from twm (default) to wmaker:

    1. Open file /etc/X11/xinit/xinitrc
    2. Change "tmw &" to "wmaker &"
    3. To apply changes to current session, kill the twm process and manually start wmaker.

    Windows 98

    IP info
    winipcfg

    Windows 2000/XP

    IP info
    ipconfig

MITSIM

Route choice model
GRN/RN_Vehicle::PretripChoosePath() [RN_Vehicle.cc]
GRN/RN_Vehicle::OnRouteChoosePath() [RN_Vehicle.cc]
GRN/RN_Node::routeSwitchingModel() [RN_Node.cc]

DynaMIT