//View Tip #313
» Quit bash without saving history
» Count files by type v2
» SVN resolve all conflicts
» Reverse geocode with bash
Similar Tips
» Check a bash script without executing» Quit bash without saving history
» Count files by type v2
» SVN resolve all conflicts
» Reverse geocode with bash
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
Comments
Add your comment
No Comments

