Skip to content
Archive of posts tagged Operating system

Bash Tips & Tricks

http://www.ukuug.org/events/linux2003/papers/bash_tips/ http://www.gbdirect.co.uk/ Power Shell Usage Bash Tips & Tricks Simon Myers simon.myers@gbdirect.co.uk UKUUG Linux 2003 Conference • August 2003 http://www.ukuug.org/events/linux2003/ This view lists all the slides from the talk in a continuous format. There is a PDF version available, suitable for printing on A4 paper. The slides are also designed to be viewed as a [...]

Script to Watch for Ubuntu 9.10 Launch – can be used in other scenarios.

I know ubuntu is out already but this is something that you can use to monitor a webpage. This script will run check a for the Ubuntu 9.10 launch once every 5 mins and let you know when it\’s available: while [ 1 ]; do if [ -z \"`curl -I \"http://cdimage.ubuntu.com/releases/9.10/release/\"|grep \"404\"`\" ]; then kdialog [...]

Splitting strings with IFS

Today I want to discuss splitting strings into tokens or “words”. I previously discussed how to do this with the IFS variable and promised a more in depth discussion. Today, I will make the case on WHY to use IFS to split strings as opposed to using a subshell combined with awk or cut. I [...]