//View Tip #313
Similar Tips
» Store a directory name to come back to
» Remove every file but one
» Permanent bash history
» Find occurrences of a string in a large code base without firing
» Manipulate Bash sockets using /dev/tcp

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
A simple shell script to get the latest stable version of the linux kernel:

#!/bin/bash

kernelV=`finger finger@kernel.org | grep 'stable version' | awk '{print $NF}'`
wget -c http://www.kernel.org/pub/linux/kernel/v2.6/linux-$kernelV.tar.bz2


View Comments »




Comments 

Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit