9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have prepared a shell script to find the duplicates based on the part of filename and retain latest.
#!/bin/bash
if ; then
mkdir -p dup
fi
NOW=$(date +"%F-%H:%M:%S")
LOGFILE="purge_duplicate_log-$NOW.log"
LOGTIME=`date "+%Y-%m-%d %H:%M:%S"`
echo... (6 Replies)
Discussion started by: gold2k8
6 Replies
2. Shell Programming and Scripting
All,
I have a need for a portable shell script for LInux and HPUX. The script has a simple need; Check for local files of a specific name (i.e. filename*), scp them to another system, and archive them to a folder. The script runs via cron.
I first wrote the script in Linux (bash with gnu... (4 Replies)
Discussion started by: hburnswell
4 Replies
3. UNIX for Dummies Questions & Answers
Im new in unix, I learned some commands, I have a small idea in MS Dos
Would you like to advise me where and how to start ? (2 Replies)
Discussion started by: BaxxterHp
2 Replies
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
2 Replies
5. Shell Programming and Scripting
Good morning. I am searching for "how-to"'s for some particular questions:
1. How to write a script in HP-UX 11.
2. How to schedule a script.
3. How to "call" scripts from the original script.
4. How to su to another user from within a script.
This is the basics of what the... (15 Replies)
Discussion started by: instant000
15 Replies
6. Linux
Hello all,
I have a question, and would like some advice please. I am a windows guy by trade....5 years in the Marines is where I learnt a lot of what i know. I took a junior level sys admin job...learned a bit more...and now I do IT security. All of this happened in the last 8 years. So I'm 27... (2 Replies)
Discussion started by: Quality
2 Replies
7. UNIX for Dummies Questions & Answers
My intention is to set up a mysql on unix.
Could you provide some info, please, useful for realization of the plan (other than "read the documentation" that will be done anyway)?
vaguely yours`
sehrguey (2 Replies)
Discussion started by: serguey
2 Replies
8. Shell Programming and Scripting
Hi, everyone:
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
7 Replies
9. UNIX for Dummies Questions & Answers
Hi ... I'm new when it comes to using a computer , I have in the last few years kind of learn Windows xp but I find that Microsoft is ripping people off with their operating system and I would very much like to try to learn Unix operating system , so far all I know about Linux/Unix its totally... (3 Replies)
Discussion started by: terryfox
3 Replies