image/svg+xml
Linux for open minds
Build Service 2.1
To learn more about openSUSE Build Service go to www.opensuse.org
CHEAT CUBE Build Service 2.1
Linux for open minds
www.opensuse.org
Freedom of choice
openSUSE believes in choice and doesn't limit it. We also believe in making it easy for you to make decisions, and giving you the same seamless experience with openSUSE you'll get with any choices you make. We believe in adjusting your system to you, and no matter what route you take or what you try to achieve,you're never alone with the openSUSE community. So make your choice, and choose openSUSE. www.opensuse.org
www.opensuse.org
Build Service 2.1
To learn more about openSUSE Build Service go to https://build.opensuse.org
Linux for open minds
Linux for open minds
Linux for open minds
www.opensuse.org
Freedom of choice
www.opensuse.org
Get it
Create it
Discover it
Accounts
# useradd jsmith -u 1010 -g 501-d /home/users/jsmith -c“Joe Smith” -s /bin/bash
Example
# passwd <name>
To add/change a password
To Modify an user account # usermod <name> -c Changes the user name # usermod -c "Joe Smith" jsmith -G add a user to a group # usermod -G homeuser jsmith -L Lock the user account # usermod -L jsmith -U Unlock the user account # usermod -U jsmith -s Change or set a shell # usermod -s /bin/tcsh jsmith
To create a new user account # useradd <name> -u specific UID -g specific GID -d create home dir -c User full name -s Assign a Default Shell
Change a User Shell # chsh -s /bin/<shell> <name>
Deleting User Accounts # userdel <name>
YaST
# yast <module> help
To obtain usage of a module
# yast --qt
Run YaST in QT GUI Frontend
# yast --gtk
Run YaST in GTK GUI Frontend
# yast --ncurses
Run YaST in text-mode frontend
# yast -i <package>.rpm
Install a Package with YaST
# yast --remove <package>.rpm
Remove an Package with YaST
# yast -l -or- yast --list
List all available Module
* We do not recommend using "rpm -e".It can break other packages
RPM
# rpm -qal |grep <package>
Example fo find installed RPM
# rpm -ivh <package>
Installing a RPM
# rpm -Uvh <package>
Upgrading a RPM
# rpm -e <package>
Removing a RPM
# rpm -qi <package>
Details about an install RPM
# rpm -qlp <package>.rpm
List the contents of an RPM
# rpm -qal
List installed RPM's
# rpm -q -whatprovides <name>
To see what provides a command
File System
# mount -t ext3
# fdisk -l /dev/<h/s>d<a-z>
To list all disks and partitions
# mount# cat /proc/mounts
# fdisk -l /dev/<h/s>d<a-z>
To list for a specific disk
List mounted file systems
# mount -t <type>
List only specific system type
# mount t <type> <device> <mount point>
Mount partition
List all mounted ext3 system type
# mount -t ext3 /dev/sda1 /mnt
Example Mount
# mount t iso9660 -o loop name.iso <mount>
Mount CD/DVD ISO as loopback
# mount t iso9960 o loop /tmp/opensuse11.2x86_64.iso /mnt
Example of mounting an iso as a loopback
Linux for open minds
To learn more about openSUSE Build Service go to www.opensuse.org
SaX
Set Graphics Card # SaX2
Using Sax to Config ATI Card
# SaX2 -r -m 0=radeon # SaX2 -r -m 0=fglrx
Using Sax to Config Nvidia Card
# SaX2 -r -m 0=nv # SaX2 -r -m 0=nvidia
Process
Show Every Process Currently RunningEvery running Process
# ps -e
Every running Process, long list
# ps -el
Every running Process, full-format list
# ps -ef
Every running Process, Short BSD Style
# ps ax
Every running Process, Long BSD Style
# ps aux
Services*
List all Services
# ps -e
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 do a reload
# service <name> reload
# losetup -a
See status of loopback devices
# umount /dev/<device># umount /<mount point>
Unmount File Systems
# free -o -m
Show Memory Use
# lsof | less
Current open files/directories
# ifconfig -a
View Ethernet Connection
# iwconfig
View wireless Interface
# route# netstat -rn
Show Routes
# netstat -anp
Show all open ports
Using the Shell
To see what current shell is set
# echo $SHELL
Display all of the settings
# set | less
To see what current
# env
To find a command you have ran
# ctrl -r < start typing the command>
To see who you are
# whoami
To see history
# history
Log in as Superuser
# su -l
Watch a file
# tail -f <file>
Change directory
# cd <directory>
Go back the last directory
# cd -
To repeat the last command
# !!
To see the current time
# date
openSUSE 11.2 Cheat Cubedesigned and adapted byCarlos Ribeiro <carlosalberto.net@gmail.com>Chuck Payne <terrorpup@gmail.com>
Adult supervision required for using scissors
CHEAT CUBEopenSUSE 11.2
Get it
Create it
Discover it
Get it
Create it
Discover it
Linux for open minds
www.opensuse.org
Cyan
Yellow
Magenta
Black
Cyan
Yellow
Magenta
Black
Cyan
Yellow
Magenta
Black