Author: <span class="vcard">g33kadmin</span>

Execute a command without saving it in the history

‘spacebar’ command This is sample output – yours may be different. $ echo this goes to history this goes to history $ echo this wont go to history this wont go to history $ history 1 echo this goes to history 2 history Prepending one or more spaces to your command won’t be saved in…


Search google from CLI

perl -e ‘$i=0;while($i<10){open(WGET,qq/|xargs lynx -dump/);printf WGET qq{http://www.google.com/search?q=site:g33kinfo.com&hl=en&start=$i&sa=N},$i+=10}’|grep ‘//g33kinfo.com/’ curl -A Mozilla http://www.google.com/search?q=Linux |html2text -width 80 html2text http://www.google.com/search?q=searchtermhere dig +short txt linux.wp.dg.cx -wikipedia search check gmail from command line curl -u username –silent “https://mail.google.com/mail/feed/atom” | perl -ne ‘print “\t” if //; print “$2\n” if /< (title|name)>(.*)< \/\1>/;’


Want to send yourself a file quickly?

If your mail server is properly set up then you can go: mail -s “Boo Boo” youremail@host.com < file.txt


Check Ubuntu Version

Quick CLI command to check your version of ubuntu sudo lsb_release -a


Faster Ubuntu Upgrade

When the new version of Ubuntu (9.10) is released, thousands of people connect their computers to the Ubuntu servers to complete the upgrade. Even on a fast internet connection, downloading new versions of almost all current applications will take a long time. Coupled with everyone else trying to download from the same place at the…


Ctrl+Alt+Del to open System Monitor in Ubuntu

If you want to enable Ctrl+Alt+Del to open System Monitor you have to do this: Go to System->Preferences->Keyboard Shortcuts and search for “Logout” action (that is under Desktop actions) and you will see that Ctrl+Alt+Del combination is associated to Logout shortcut. You have to click on that shortcut and press Backspace if you want to…


ClamTk 4.20

ClamTk is a GUI frontend for ClamAV. ClamTk is a GUI front-end for ClamAV antivirus projects, using Gtk2-perl. It is designed to be an easy-to-use, point and click virus scanner for Linux systems. Requirements: · Gtk2-Perl Author/Maintainer : ClamTk Team Home Page : http://clamtk.sourceforge.net/index.html Changelog : http://sourceforge.net/projects/clamtk/ Screenshot : http://sourceforge.net/dbimage.php?id=79490 Download [ 4.20 ] :…


Installing Multitail

From ghacks.net The easiest way to install multitail is to issue the command (since you’ll be working in the command line anyway): sudo apt-get install multitail or yum install multitail Once the application is installed you are ready to go (there is no configuration necessary). Running multitail —————– The structure of the multitail command is:…


Dstat

If you have a Linux server running at your office or at a data center for which you are responsible, you want to maintain an uptime of as close to a hundred percent. In such a case you want to make sure you keep an eye on how the system is running. To be precise…


Find

With hard drives becoming real cheap over the past few years we’ve grown accustomed to having many gigabytes or sometimes even terabytes of data on our computers. This is when being able to find information on our computers becomes important. Linux has a very handy command line tool very aptly called “find”. I’ll share with…