9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In an attempt to finally end this article I start this new thread.
Here is a template for a safe and portable script.
# /bin/bash exists on most still supported Unixes
# tr and date behave better with
if ; then export LC_ALL=C; else export LANG=C; fi
# Unix optional packages... (2 Replies)
Discussion started by: MadeInGermany
2. Shell Programming and Scripting
I have prepared a shell script to find the duplicates based on the part of filename and retain latest.
if ; then
mkdir -p dup
LOGTIME=`date "+%Y-%m-%d %H:%M:%S"`
echo... (6 Replies)
Discussion started by: gold2k8
3. Shell Programming and Scripting
I currently have a shell script that utilizes the "Date" binary - this application is slightly different on OS X (BSD General Commmand) and Linux systems (gnu date). In particular, the version on OS X requires the following to get a date 14 days in the future "date -v+14d -u +%Y-%m-%d" where gnu... (1 Reply)
Discussion started by: colinjohnson
4. Shell Programming and Scripting
I'm using solaris 10
Scenario as follows
I have a logfile with 2 columns:
column 1 = source directory + filename
column 2 = destination directory + filename
Using cron, my script polls for new files and adds them to the logfile ($ELOG) as described above. Using sed, the distination... (2 Replies)
Discussion started by: davidra
5. Shell Programming and Scripting
got the solution..!! (5 Replies)
Discussion started by: tuntun
6. Shell Programming and Scripting
I want to write a script which has to work on Solaris & Linux sytems.
The problem which i am facing is, there are commands whose options are different on both OS's. For example ping.
On Solaris i have to write:
ping $host 1
to check if the host is alive
On Linux i... (4 Replies)
Discussion started by: dhiraj4mann
7. Shell Programming and Scripting
I post a new thread because previous post may sink and I hope the new one can be caught by your eyes.
I created a shell script and the script works fine. However, the mail program part on script didn't send email to my email box and it also didn't provide any traceable... (7 Replies)
Discussion started by: duke0001
8. Windows & DOS: Issues & Discussions
I have some scripts that run in Windows, and the ability to put a GUI
layer over them is kind of appealing. So when I stumbled over
http://wizapp.sourceforge.net/ I thought that was rather cute.
(Reading the "advanced batch scripting" art of the manual impresses upon me that no sane person... (2 Replies)
Discussion started by: luke
9. Shell Programming and Scripting
I just wonder whether there are a couple of free Linux servers running as terminals where people can practice Unix Shell Programming?
I'd like to set up one myself but unfortunatly can't do it. I can't switch to Linux now coz I run a couple of servers on my machine.
Cygwin is... (3 Replies)
Discussion started by: belgampaul