9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I am running this shell script .But some how the flag value is getting reset to 0 .could you please help .I'm pasting the output of the script also for your reference.
#!/usr/bin/sh
# Shell script to monitor or watch the disk space
# It will send an email to $ADMIN, if the (free... (5 Replies)
Discussion started by: ptappeta
5 Replies
2. Shell Programming and Scripting
Below is the issue I am having.
I have a few variables which have certain values in them like
var1=23
var2=46
var3=78 etc...
I want to save these values with the help of a for loop in a single variable so that I can use it later,beacuse a few lines down the script, some of these... (3 Replies)
Discussion started by: Elizabeth H
3 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I'm trying to unzip a file and rename it to another while preserving the original timestamp:
$ cat file.dat.gz | gzip -d > newfile.dat
My goal is to assign the file.dat.gz timestamp to newfile.dat.
I cannot use gunzip, due to various checks done with wget. Basically, I have to... (1 Reply)
Discussion started by: TECK
1 Replies
4. Shell Programming and Scripting
Hi all,
I need help to add additional data from file2 to existing data in file 1 using awk, sed or perl. the ID in file 1 should match against field $3 in file2
file1
#this is a new game
ID HR_1
BASE1 30
BASE2 37
DETAIL No
TYPE L
@@
ID HR_10
BASE1 6030
BASE2 ... (4 Replies)
Discussion started by: redse171
4 Replies
5. AIX
Hi guys,
I am newbie to AIX. We are planning to attach external HDS array to AIX servers where VCS in installed. Anyone know step by step procedure for attaching and detaching HDS array?. If yes, please post reply for the same.
Thanks in advance guys. (5 Replies)
Discussion started by: prtaix
5 Replies
6. HP-UX
I'm trying to get a number of old disks on HP-UX 10.2 copied over to a new Debian machine which has a NAS on it.
The HP does not have rsync, but does have scp. Scp unfortunately does not always preserve permissions, and does not save links which were on the disk.
Apparently rsync has a flag... (2 Replies)
Discussion started by: PasadenaDave
2 Replies
7. Shell Programming and Scripting
I obviously haven't learned my lesson with shell and whitespace.
find /path/to/some/where/ -name "*.pdf" | awk '{print $5}'| uniq -d
results:
some Corporation
other Corporate junk
firmx
Works fine from cmdline but the whitespace turns into another FS in a for loop.
for... (7 Replies)
Discussion started by: s_becker
7 Replies
8. Solaris
Hi folks,
the following incident occured today:
by mistake one of our renowned administrators deleted the complete zoning for a 25K domain running solaris 10.
Thus the system lost all of it's external disks.
We've got oracle datafiles and oracle software residing on those lost... (6 Replies)
Discussion started by: MikaBaghinen
6 Replies
9. Filesystems, Disks and Memory
I'm trying to make a backup of a directory tree on Solaris 8. I'm doing this with my own ID, not root. The problem I am running into is when I extract the archive, all files are owned by me and the group is my default group. The man page lists this as the default behavior when executed by a... (1 Reply)
Discussion started by: bergerj3
1 Replies