Monday, 26 October 2009

Linux Ubuntu Command Cheat Sheet Part II


As I promised before, let's move on ubuntu cheat sheet part II

Network
ifconfig –> show network information
iwconfig –> show wireless information
sudo iwlist scan –> scan for wireless networks
sudo /etc/init.d/networking restart –> reset network for manual configurations
(file) /etc/network/interfaces –> manual configuration
ifup interface –> bring interface online
ifdown interface –> disable interface


Special Packages
ubuntu-desktop –> standard Ubuntu environment
kubuntu-desktop –> KDE desktop
xubuntu-desktop –> XFCE desktop
ubuntu-minimal –> core Ubuntu utilities
ubuntu-standard –> standard Ubuntu utilities
ubuntu-restricted-extras –> non-free, but useful
kubuntu-restricted-extras –> KDE of the above
xubuntu-restricted-extras –> XFCE of the above
build-essential –> packages used to compile programs
linux-image-generic –> latest generic kernel image
linux-headers-generic –> latest build headers

Firewall ( Prefix commands with sudo to run )
ufw enable –> turn on the firewall
ufw disable –> turn off the firewall
ufw default allow –> allow all connections by default
ufw default deny –> drop all connections by default
ufw status –> current status and rules
ufw allow port –> allow traffic on port
ufw deny port –> block port
ufw deny from ip –> block ip adress

Application Names
nautilus –> file manager (GNOME)
dolphin –> file manager (KDE)
konqueror –> web browser (KDE)
kate –> text editor (KDE)
gedit –> text editor (GNOME)

System
Recovery -> Type the phrase “REISUB” while holding down Alt and SysRq (PrintScrn) with about 1 second between each letter. Your system will reboot.
lsb_release -a –> get Ubuntu version
uname -r –> get kernel version
uname -a –> get all kernel information


refference: FOSSwire

0 comments:


Blogger Templates by Isnaini Dot Com