Welcome to UnixReview.com

Main Menu
  Home
  Archives
  Reviews
  Books
  Geek Links
  Contact Us

Sections
  Regular
  Expressions

  Tool of the Month
  Open Source
  Certification
  Shell Corner
  lost+found


Newsletter
Get the Newsletter
Get the Newsletter

 

 Shell Corner Ed Schaefer 

Shell Corner: Misc. Unix Tips II
Last August, I presented Miscellaneous Unix Tips; welcome to the sequel — M.U.T II! This month, Jamie Adams submits the following tips: • A method for restricting the direct logins of certain accounts. I also include two "one-liners" for restricting users to a particular terminal, and to only one session. • A Korn and "C" shell technique for quickly renaming files. • A technique for developing complex commands before issuing them to the shell. • A method for eliminating the escape characters from man pages.
November 2002

Shell Corner: Used Named Pipes in the Shell
Instead of using temporary files in shell scripts, you could use named pipes or fifos (First-In, First-Out). This month, Nathaniel Donat (donat.n@pg.com), defines named pipes, introduces Bourne script build.ss using named pipes, and finally, directs us to some Unix Interprocess Communication (IPC) resources on the Internet.
September 2002

Finding Broken Links with linkcheck.pl
This month Bob Orlando submits Perl script linkcheck.pl to find and check broken links.
August 2002

Shell Corner: The Soundex System in C and Shell
This month, Mendel Cooper (thegrendel@theriver.com) submits a bash script called soundex.ss. The Soundex system is a hashing algorithm for surnames. It catalogs variants of a given surname, such as Smith, Smyth, and Smythe, and encodes them according to the way they are pronounced.
July 2002

Shell Corner: Processing the Oracle Alert File
Ed presents a Korn shell script called checkAlertLog.ksh, which processes errors from the Oracle Alert File and emails a report to the appropriate user. Congratulations to Naresh Puri on this winning script submission.
June 2002

Shell Corner: Cross Referencing Files with Shell and Perl
Reader Eric Lorimer submits a bash and a Perl script for cross-referencing the data of two files. Ed also demonstrates how to convert the bash script to the Korn shell.
May 2002

Shell Corner: Moving Files with Perl's Net::FTP Module
Ed presents ftp_mover.pl, a client that uses the Net::FTP module to communicate with a server. Congratulations and $100 go to Ryan Ware for submitting this winning script.
April 2002

UnixReview's Shell Corner Roundup: Unix Backup Scripts
In his monthly Shell Corner column, Ed presents a winning shell script from our reader submissions. Here, he shares three backup scripts: nfs_backup, mirrorcopy, and backup.ss. (This article originally appeared in the April 2002 issue of Sys Admin magazine. Used with permission.)
April 2002

Shell Corner: Killing Processes with killer
Ed showcases killer, a script that does everything killprog does -- and more. Congratulations and $100 go to Bruce Israel for this winning submission.
March 2002

Shell Corner: pget.awk, the Generic Parameter Parsing Engine
Ed turns the spotlight on a "Generic Parameter Parsing Engine" submitted by David Thompson.
February 2002

Shell Corner: Individual Backups with save-version
Congratulations and $100 go to Rodney Sparapani for submitting this month's winning script: an individual backup utility called save-version.
January 2002

Shell Corner: findp, Enhanced findp, and where
Congratulations and $100 go to Robert S. Sciuk for submitting this month's winning script, findp. Ed presents findp, introduces his own enhancements to it, and finally presents an alternative C program that emulates findp.
December 2001

Shell Corner: Creating User Accounts with mkusers
Some Unix variants (i.e., Solaris and SCO Open Server V) provide a command, useradd, for adding new user accounts. Bobby Higgins's (higginsbg1@home.com) Mkusers script automates the creation of user accounts by manipulating useradd and its options. Bobby also provides setpass, a "C" utility that sets a default password once a user is created, and mkusers.1, a man page for mkusers.
November 2001

Shell Corner: PST
Congratulations and $100 go to Yngve Clausen for submitting PST, a Korn script for tracing shell ancestry. Send your own stellar shell scripts to Ed, and you could be our next winner.
October 2000

Shell Corner: bfiles
This month, Dave Masterson (s97bf103@student.ucd.ie) submits bfiles, a Korn shell script that traverses directories searching for specific files.
September 2001

Shell Corner: Miscellaneous Unix Tips I
Since I began hosting this column, I've received several excellent submissions that were too short to fill an entire column. To promote a miscellaneous Unix tips forum, I've encouraged readers to enlarge the scope of their original submissions.
August 2001

Shell Corner: Merging XML Elements with mergeXML
Congratulations and $100 go to Mark Lindsey for submitting mergeXML, a bash script for merging selected elements from multiple XML files into one new file.
July 2001

Shell Corner: Directory and File Listings with dull
Daniel Singer submitted dull, this month's winning script for customizing directory and file listings.
June 2001

Shell Corner: newbackdate.ss
Continuing with the Unix time theme from last month, Randy Romano presents a Korn script, newbackdate.ss.
May 2001

Shell Corner: amtime.tcl
Ed shares feedback on cmptree before presenting Andrew Barber’s amtime.tcl script, which converts from UTIS to a useable date/time string.
April 2001

The Shell Corner: Using the Unix find Command
Congratulations and $100 go to Chris Cox for submitting this month's winning shell scripts featuring creative uses of the find command..
March 2001

The Shell Corner: cmptree
This month's winner is Ives Aerts, who submitted cmptree.
February 2001

The Shell Corner: Displaying Number Bases in the Korn Shell
Gerard van Wageningen, gerardvw@xs4all.nl, submits this month's script, convert. Convert, an autoloaded Korn shell function, displays numbers in binary, decimal, octal, hexadecimal, and base 36. (I took the liberty of adding adding base 36 for my own selfish purposes).
January 2001

The Shell Corner: Win $100 for your shell script!
Welcome to the inaugural issue of Shell Corner, hosted by Ed Schaefer.
December 2000

   
Home | Top


Copyright © 2002 CMP Media LLC, Privacy Policy
Comments about the Web site: webmaster@unixreview.com
SDMG Web Sites: Byte.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network

www4