This page is intended to help keep track of the linux commands and ERSP commands frequently used while working on [wiki:robotmobility] = Packages = `apt-get -f install` - Repairs broken dependencies `dpkg --list |grep something` - Search for something in installed packages = ERSP = == Navigation Tool == `run_client_gui` - Opens the navigation tool. This tool includes the ''vSlam'' and ''teleoperation'' applets. `run_slam_explore` - Runs the vSlam server. To use the vSlam applet, first run ''run_client_gui'', and once you've confirmed that the camera is working properly ''run_slam_explore'' in a seperate terminal. `run_teleop` - Runs the teloperations server. == Hardware tests == ''In general, if the first three of these tests work, run_client_gui should work as well.'' `test_battery` `test_range_sensor` `test_camera` = Jobs and Processes = ''In general, ctrl+z suspends a job, and ctrl+c kills one'' `lsof` - Lists open files == Suspended jobs == `bg` - Continue running job in background `fg` - Resume job in foreground `jobs` - List suspended jobs and their numbers `kill %#` - Kill job # `ps -ef|grep something` - List processes that are running and grep for something `kill -9 something` - Brute force way to kill a process. = Wifi = ''unless `/sbin` as been added to the PATH variable, many of these commands require root priveleges'' `iwconfig ath0 essid WINMAIN` - Establishes WINMAIN as network we wish to connect to. `ifconfig ath0 up` - Brings up the wireless interface `iwconfig ath0` - Displays information about wireless connection. If "Access Point" reads "Not Associated," Execute this command repeatedly until an access point is associated. `dhclient ath0` - Uses DHCP to obtain an IP address `ifconfig ath0 up` - Brings up the wireless interface. Often this command needs to be executed again after an IP address has been obtained. `iwlist ath0 scan` - Displays a list of wifi networks in the area. = Remote Control = `ssh -XC 192.168.xxx.xxx` - Connect to a computer with X11 forwarding and compression enabled `xtightvncviewer -compression #` - Connect to a vnc server. # is a scale (0-9) with 0 being uncompressed and 9 being maximum compression. Max compression does not mean fastest since compression takes time. = Files and the filesystem = `updatedb` - Builds a database so the locate command can work `locate something` - Finds files named something in the filesystem.