Profile
Achievement
wolfie's Recent Snippets
- All /
« Prev 1 Next »
Useful if you need to run the same command for lots and lots of different parameters
0
1126
posted 16 years ago by wolfie
Useful if you have a shell script running lots of the same command and want to know how many of them have been done
0
894
posted 16 years ago by wolfie
This shows how to use a module that normally needs a 'qw' attachment to the use statement (hint: its the = sign). You can add others by using comma separated values.
0
833
posted 17 years ago by wolfie
A one-liner to remove any temporary files modified over one day ago. Removes files from /tmp/
Run without the '-exec rm {} \;' part to check that it is matching the right set of files - this can be dangerous if run by root!
If you want to remove fi...
1
886
posted 17 years ago by wolfie
This allows you to use perl syntax highlighting in vi for test scripts that use the ".t" file extension
0
1007
posted 17 years ago by wolfie
Use this to display a file properly if you are reading it from another location and wish to direct it to the user's browser
0
831
posted 17 years ago by wolfie
This will return the number of seconds between now and when the time field was inserted.
0
996
posted 18 years ago by wolfie