Linux: Difference between revisions
From esoterum.org
Jump to navigationJump to search
| Line 62: | Line 62: | ||
*<code>vncviewer localhost:#</code> over ssh | *<code>vncviewer localhost:#</code> over ssh | ||
*<code>/etc/sysconfig/vncservers</code> | *<code>/etc/sysconfig/vncservers</code> | ||
*<code>/sbin/service vncserver restart</code> | |||
*<code>vncserver -kill :1</code> | |||
=== Bootloader === | === Bootloader === | ||
Revision as of 00:50, 31 July 2008
Fedora 7
su -change to super userinit [number]set runmode number (5=graphical, 3=text, 1=single user)
KDE
startkdestart KDE (from ssh)
CygWin
- Installing minicom on cygwin:
- Add folder:
/var/lock - Move file
minirc.dflto/usr/local/etc - Fix serial port
/dev/ttyS1->/dev/com1???
Unix/Linux
- Basic unix commands
- Basic unix commands
- IO-Redirection shell commands
- Linux command reference
- Emacs manual
- Vi manual
- Gawk manual
- GNU awk manual
- GNU manuals from University of Utah
Scripting
Commands
- To get information on the server/computer:
cat /proc/cpuinfo- cat /proc/meminfo
- dmesg
- lspci
find . -name "rc.conf" -printxhost +[server name, i.e. vlsi](give permission to remote server to use local display)setenv DISPLAY=###.###.###.###:0.0(set DISPLAY variable to local ip address)cat /var/log/messages |grep ***(Search system messages for specific word)service xinetd restart(Restart xinetd server)rpm -ivh foo-1.0-1.i386.rpm(Add a package with rpm)rpm -e foo(Remove a package with rpm)ps(processes)top(processes dynamic list)strace ./ldecod.exe -e trace=gmon.outDebugging: print system calls made by ldecod.exe during executionbzip2 -cd files.tar.bz2 | tar xvf -Bziptar -cf ouput.tar folderTar a foldertar -czvf output.tar.gz folderTar and gzip a foldertar -xzvf input.tar.gzUntar and unzip a tar-ballmd5sum [filename]Generate md5 hash of [filename]
Drivers
Utilities
Virtual Network Computing (VNC) Server
- VNC on Wikipedia
- TightVNC information
vncserver :1 -geometry 1880x1160vncviewer localhost:#over ssh/etc/sysconfig/vncservers/sbin/service vncserver restartvncserver -kill :1
Bootloader
USBNET (USBDNET)
- -BLOB requires cdc_subset module (
# modprobe cdc_subset)
- gadget driver information (linux-usb.org)
- remove linux 2.6 usb 2.0 driver?
modprobe -r ehci-hcd
- -apparently
uhci-hcdis the usb 1.0 driver from linux 2.4