You are on page 1of 3

Useful Commands in Ubuntu | Linux Blog

Linux Blog
home posts rss about forum

Useful Commands in Ubuntu

Posted by Nikesh Jauhari Last 30 days Popular Posts

A comprehensive list of commands needed when using Ubuntu: Command privileges. sudo command - run command as root sudo su root shell open sudo su user open shell as a user sudo -k forget your password sudo gksudo command sudo visual dialog (GNOME) kdesudo command sudo visual dialog (KDE) sudo visudo edit / etc / sudoers gksudo nautilus root file manager (GNOME) kdesudo konqueror root file manager (KDE) passwd change your password Command Network ifconfig displays information network iwconfig displays information from wireless sudo iwlist scan scan wireless networks sudo /etc/init.d/networking restart reset the network (file) /etc/network/interfaces manual configuration ifup interface bring online interface ifdown interface disable interface Commands Display sudo /etc/init.d/gdm restart reset X (Gnome) sudo /etc/init.d/kdm restart reset X (KDE) (file) /etc/X11/xorg.conf show Configuration sudo dpkg-reconfigure - reconfigure xserver-xorg-phigh - reset configuration X Ctrl+Alt+Bksp X display reset if frozen Ctrl+Alt+FN switch to tty N Ctrl+Alt+F7 switch back to X display Commands Service System. start service service to start work (Upstart) stop service service to stop working (Upstart) status service check if service is running (Upstart) /etc/init.d/service start start service (SysV) /etc/init.d/service stop stop service (SysV) /etc/init.d/service status check service (SysV) /etc/init.d/service restart reset service (SysV) runlevel get current runlevel

Howto check disk drive for errors and badblocks How to check/repair (fsck) filesystem after crash or power-outage How to change the GRUB 2 Default Timeout and Boot Order - Ubuntu How to enable IP Forwarding Useful Commands in Ubuntu Configuring sudo and adding users to Wheel group Linux Commands to Monitor Memory Usage How to Lock / UnLock (Enable / Disable) Linux User Account Get Hostname from IP address Tools for creating TCP/IP packets Blog Archive 2013 (51) 2012 (167) 2011 (141) 2010 (242) 2009 (269) 2008 (583) December (23) November (37) October (43) Commands related to Process control GUI for creating Firewall rules - Firestarter Themes for Ubuntu Linux Useful Commands in Ubuntu Quick Guide to compress / decompress files LXDE, A stable and lightweight desktop environment... Convert Gmail account into Web based file server Tools for creating TCP/IP packets LDAP Client Authentication How to use cron scheduler Monitor Network data transfer using Vnstat How to mount Linux filesystem under FreeBSD Information about the Hard drive and list all PCI ... Squid proxy Cache Result Codes dotnet on Linux

1 of 3

Monday 30 December 2013 03:06 PM

Useful Commands in Ubuntu | Linux Blog

Encrypt CD/DVDs

Commands for Firewall. 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 rules and ufw allow port to allow traffic on port ufw deny port port block ufw deny from ip ip block Command System. lsb_release -a get the version of Ubuntu uname -r get kernel version uname -a get all the information kernel Commands for Package Manager. apt-get update refresh updates available apt-get upgrade update all packages apt-get dist-upgrade version update apt-get install pkg installing pkg apt-get remove pkg uninstall pkg apt-get autoremove removing packages obsotletos apt-get -f install try to fix packages dpkg configure -a try to fix a broken package dpkg -i pkg.deb install file pkg.deb (file) /etc/apt/sources.list list of repositories APT Special Packages For commands. ubuntu-desktop Setting the standard Ubuntu kubuntu-desktop KDE Desktop xubuntu-desktop desktop XFCE ubuntu-minimal core earnings Ubuntu ubuntu-standard the standard utilities Ubuntu ubuntu-restricted-extras not free, but useful kubuntu-restricted-extras ditto KDE xubuntu-restricted-extras ditto XFCE build-essential packages used to compile linux-image-generic latest generic kernel image linux-headers-generic latest headlines Applications commands. nautilus File Manager (GNOME) dolphin File Manager (KDE) konqueror Web browser (KDE) kate text editor (KDE) gedit text editor (GNOME)
Like 3 Tweet 1 6 5

Kernel parameters for enhance security How to install an RPM Package on Ubuntu Linux How to change GRUB Menu Timeout on Ubuntu How to create command aliases Top OpenSorce Groupware Top Download Manager Download videos from - youtube-dl Top Graphical Text Editors One stop for up-to-date comparisons - WikiVS /proc explained Apache Configuration tool -- Rapache Media Collection Manager Transcoding video and audio files How to Convert videos to the Ipod format Top Video Players Debian Package Creator - DebianPackageMaker Booting Linux in 5 seconds Universal Linux Installer - UNetbootin Install everything on Ubuntu Install and Run Linux application on Windows, Mac ... Free Gaming repository for Ubuntu - Playdeb Audio files Converter - Gnac Google Launches Linux Software Repositories Installation and Configuration - Jinzora Streaming... OpenX adserver Installation and Configuration on ... Setting up 2 IP address on "One" NIC (Redhat/Fedor... Differences between Packet and Statefull Firewalls... September (46) August (34) July (58) June (62) May (63) April (66) March (56) February (56) January (39) 2007 (68)

2 of 3

Monday 30 December 2013 03:06 PM

Useful Commands in Ubuntu | Linux Blog

16 comments: Post a Comment

Comment as:

Select profile...



3 of 3

Monday 30 December 2013 03:06 PM