page2
SaX
Set Graphics Card
openSUSE Basic Command Cheat Sheet
http://opensuse.terrorpup.net/downloads/commands.pdf
# SaX2
Using SaX to Config ATI Card
# SaX2 -r -m 0=radeon
# SaX2 -r -m 0=fglrx
Using SaX to Config ATI Card
# SaX2 -r -m 0=nv
# SaX2 -r -m 0=nvidia
Services*
List all Services
# service –status-all
To get a status on a Service
# service <name> status
To start a Service
# service <name> start
To stop a Service
# service <name> stop
To restart a Service
# service <name> restart
To do a full-restart on a Service
# service <name> --full-restart
# service –full-start <name>
To list all disk and partitions
# fdisk -l
To list for a specific disk
# fdisk -l /dev/<h/s>d<a-z>
List mounted file systems
# mount
# cat /proc/mounts
List only specifics system type
# mount -t <type>
List all mounted ext3 system type
# mount -t ext3
Using SaX to Config Nvidia
# SaX2 -r -m 0=nv
Mount partition
# mount -t <type> <device> <mount point>
Example Mount
# mount -t ext3 /dev/sda1 /mnt
Mount CD/DVD ISO as a loopback Device
# mount -t iso9960 -o loop name.iso <mount>
Example of mounting a saved iso as a loopback device
# mount -t iso9960 -o loop /tmp/opensuse-11.2-x86_64.iso /mnt
See status of loopback devices
# losetup -a
Unmount File Systems
# umount /dev/<device>
# umount /<mount point>
File Systems
Show Every Process Currently Running
Every running Process
# ps -e
Every running Process, long listing
# ps -el
Every running Process, full-format listing
# ps -ef
Every running Process, Short BDS Style
# ps ax
Every running Process, Long BDS Style
# ps aux
Process
Show Memory Use
# free -o -m
Current open files and directories
# lsof | less
View Ethernet Connection
# ifconfig -a
# ip addr
View Wireless Interface
# iwconfig
Show Routes
# route
# netstat -rn
# ip route
Show all open ports
# netstat -anp
To do a reload
# service <name> reload
* With openSUSE you can find most services under /usr/sbin with rc in front. So you can the replace service with rc<name> <action>, example # /usr/sbin/rcapache2 restart