Linked by Eugenia Loli on Fri 14th Sep 2007 23:08 UTC
General Development As a system administrator, you run across numerous challenges and problems. Managing users, disk space, processes, devices, and backups can cause many system administrators to lose their hair, good humor, or sanity. Shell scripts can help, but they often have frustrating limitations. This is where a full-featured scripting language, such as Python, can turn a tedious task into an easy one. Python is a scripting language that looks like it was made for system administrators.
Permalink for comment 271564
To read all comments associated with this story, please click here.
jlarocco
Member since:
2005-09-14

Heh, reminds me of a place I used to work. Their reporting system was kinda like this:

* The server gets a request for report X.
* Server grabs list of environment variables for report X from the DB
* Server sets the environment variables with values passed in the request.
* Server spawns ksh with the appropriate reporting script.
* Shell script uses IO redirection to send SQL to Oracle
* Shell script parses the data and stores it to a temp file.
* The server reads the temp file and sends it back to the client.

The great part is, the guy who actually "designed" that part, left for some other job and nobody else there knew Korn shell.

Reply Parent Score: 1