Linux 2000 Logo Top Right Graphic
Shell Script Page
Hash Bang Slash Bin Slash Bash

These programs are made available under the terms of the GNU General Public License. If you come across any bugs, or have any suggestions (or code!) for improvements, I'd love to hear from you. I'll actually be very suprised if any of these scripts turn out to be of any use to anybody...

updates & isoupdates

These are 2 small scripts that I have which allow me to keep up to date with the latest updates from both Mandrake and Redhat. There are 2 scripts to download, updates (996 bytes) which downloads the stuff, and isoupdates (652 bytes) which produces an ISO disc image ready for burning to a CD. I run these both from cron(1) on a weekly basis.

undos

This converts MS-DOS line endings in a text file to UNIX line endings, so the file looks normal on your Linux box. This one is so short, it's really not worth setting up as a download link - here's the script listing, just copy and paste as you see fit:

      
	#!/bin/bash
	#
	# convert MS-DOS line terminator characters to UNIX format
	#
	if [ "$#" -ne 1 ]; then
	    echo "Usage: undos filename\n"
	    exit 1
	fi

	cat $1 | tr -d '\015' > /tmp/$$
	chmod --reference=$1 /tmp/$$
	mv /tmp/$$ $1
      

Right Side Graphic
Mandrake Linux
Made With Bluefish
Made With WML
W3C XHTML1.0
W3C CSS1 & CSS2

Linux user
#287730

 
Bottom Left Graphic  

I've done my best to ensure that the information given on this site is accurate. If you make any use of this information, however, you do so entirely at your own risk. If you lose your job, your house blows up or your dog dies, it's not my fault, okay? All trademarks and copyrights are owned by their respective companies. Linux is a trademark of Linus Torvalds. HTML coding done using Bluefish-0.7, together with wml-2.0.9 (18-Oct-2002) and graphics by The Gimp.
 
Copyright © 2004 Phil Edwards mailto: webmaster (at) linux2000.com
Last updated Sat Jul 16 18:45:13 2005