10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am getting the above error when I execute the following in a shell script called by Cron.
tar -cvf ${WORKING_BACKUP_ROOT}/${TAR_ARCHIVE_FILE} . >/${BACKUP_ROOT}/${ARCHIVE_LOG}
if
then
echo "`date` : ERROR occurred on creating tar file"
... (1 Reply)
Discussion started by: daveu7
1 Replies
2. Shell Programming and Scripting
Hi guys,
i need to write a shell script that will close file descriptors from /proc/pid/fd
will calling exec 4<&- solve the problem ?
thanks in advance :) (15 Replies)
Discussion started by: alpha_romeo
15 Replies
3. UNIX for Dummies Questions & Answers
I have two files
file1.txt
angie
mary
susan
file2.txt
angie blond
mary brunnet
susan red
christine blackI want to get this output
angie blond
mary brunnet
susan redI write
grep --file=file1.txt file2.txtand i get no results
i also wrote
cat file1.txt|while read line... (19 Replies)
Discussion started by: FelipeAd
19 Replies
4. OS X (Apple)
My first post :)
I deleted all the files within /system/library/startupitems to the trash bin. Now my mac snow leopard won't boot at all. All I got is the gray screen, apple logo and the spinning wheel...just spinning forever. I was able to boot in single-user mode. I'm trying to copy cp command... (14 Replies)
Discussion started by: haxum
14 Replies
5. Shell Programming and Scripting
Below is a test script to illustrate a problem from a larger script I am writing.
$ cat /tmp/loggingtest
#!/bin/bash
lvcreate -s -l 100%FREE -n var-data-snapshot vg00/var-data 2> >(logger -t "loggingtest.crit") 1> >(logger -t "loggingtest.info")
sync &
wait
lvremove -f... (1 Reply)
Discussion started by: jelloir
1 Replies
6. Shell Programming and Scripting
Using informatica tool am loding records from source DB to target DB. While loading some records getting rejected due to some reason. Informatica will capture those rejected records in session log file.now the session log ll be available with rejected records and the reason for the rejection as... (1 Reply)
Discussion started by: Gopal_Engg
1 Replies
7. Shell Programming and Scripting
I am using a shell script to telnet into a remote unix server and execute certain commands. But if any command being executed remotely, throws an error, the script just hangs. And the telnet session does not get closed.
I want to be able to close the session and complete the script execution in... (1 Reply)
Discussion started by: farahzaiba
1 Replies
8. Solaris
Hi
when trying to install the package initially that i have created on to the target host, i am getting error as below for all the files/directories during pkgadd.
WARNING: filename <not present on Read Only file system>
...........
...........
and so on.
When i do the second attempt to... (1 Reply)
Discussion started by: kiran.zamre
1 Replies
9. AIX
I'm writing some software tests, & one of my test cases is to prevent an address space from closing a data file (file is closed & a new one opened every 15 minutes).
I can't remove or rename the file while it's being written to, any other ideas to prevent a file from being closed - or at least... (4 Replies)
Discussion started by: jasahl
4 Replies
10. UNIX for Dummies Questions & Answers
Hey
I was stuck in middle of writing this script Can any one help me out of this
I am writing this script to delete the log files certain days old
and everything fine but when I run the script I always see error at the bottom
./PurgeOneParameter.ksh: no closing quote
and for the last if... (4 Replies)
Discussion started by: pinky
4 Replies