Difference between revisions of "Linux"
From esoterum.org
Line 20: | Line 20: | ||
*[http://www.computerhope.com/unix/overview.htm Common Linux commands] | *[http://www.computerhope.com/unix/overview.htm Common Linux commands] | ||
− | * | + | *To get information on the server/computer: |
:<code>cat /proc/cpuinfo<br> | :<code>cat /proc/cpuinfo<br> | ||
:cat /proc/meminfo<br> | :cat /proc/meminfo<br> | ||
Line 26: | Line 26: | ||
:lspci | :lspci | ||
</code> | </code> | ||
+ | *<code>xhost +[server name, i.e. vlsi]</code> (give permission to remote server to use local display) | ||
*<code>cat /var/log/messages |grep ***</code> (Search system messages for specific word) | *<code>cat /var/log/messages |grep ***</code> (Search system messages for specific word) | ||
*<code>service xinetd restart</code> (Restart xinetd server) | *<code>service xinetd restart</code> (Restart xinetd server) |
Revision as of 10:58, 25 January 2008
Contents
CygWin
- Installing minicom on cygwin:
- Add folder:
/var/lock
- Move file
minirc.dfl
to/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
Commands
- To get information on the server/computer:
cat /proc/cpuinfo
- cat /proc/meminfo
- dmesg
- lspci
xhost +[server name, i.e. vlsi]
(give permission to remote server to use local display)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)cat /proc/cpuinfo (host information)
- cat /proc/meminfo
- dmesg
- lspci
strace ./ldecod.exe -e trace=gmon.out
Debugging: print system calls made by ldecod.exe during executionbzip2 -cd files.tar.bz2 | tar xvf -
Bziptar -cf ouput.tar folder
Tar a foldertar -czvf output.tar.gz folder
Tar and gzip a foldertar -xzvf input.tar.gz
Untar and unzip a tar-ball
Drivers
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-hcd
is the usb 1.0 driver from linux 2.4
TFTP
Fedora Red Hat Enterprise Linux (RHEL)
- Create bootable USB drive using Fedora script
- Installing tftp on Fedora
- Fedora Core 1 Repository
- Using rpm