News, views, and rants (June 05 Archive)
[ /home ]
[ /etc/motd ]
[ /bin ]
[ /etc ]
[ /var ]
[ /sbin ]
[ /usr/bin/find ]
[ Members ]
Are you looking for Current News?
Have you arrived via a search engine after searching for /etc/motd? If so,
head over to /etc where there is information about adding
colour to your /etc/motd file!
-
05/06/05 - I have added a quick script to the Script Repository -
minmaxave which finds the maximum, minimum, sum and average in a series of integers. Not
particularly mind-blowing stuff, but shows off some of bash's built-in arithmetic features.
On a much more substantial note, the second in my series of mini-tips
has been added to the Tips and Tricks Area. This collection
includes 23 one-liners:
- CDE: Start a dtterm and log it
- Truss a process from start of execution
- Truss an already running process and output to file
- Execute command as different user
- Stop users logging in
- Set correct permissions on /tmp
- View NIS hosts and passwd files
- Editing crontab
- Check which processes are listening on which ports
- Print range of lines from a file
- du without mountpoint traversal
- tcsh: redirect stderr only - stupid c-based shells!
- tcsh: Stop any alias from being evaluated
- Move last file modified
- Get to telnet prompt from a telnet session
- Disable ftp login for a user
- ksh: Debug a script
- ksh: Set up r alias
- ksh: Remove extensions from filenames
- Bourne-type shells: Find a file's hard links
- ksh: Access positional parameters
- ksh: Substitute old for new in current pwd then cd
- Linux: Make image of floppy disk
A code snippet from vgersh99 has
been added detailing how to transpose rows to columns using awk.
I am currently working on a couple of articles, and a few scripting projects,
details to follow ;-)
News Archives