10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good Morning,
I have a copy script on Solaris 9 machine that is supposed to copy some files to a NAS using: cp -r /dir/dir/ /dir/dir/dirThe script doesn't finish. The directory contains user files of which one seems to copy fine, a second was failing until I did achmod -R -777 to it. Now,... (6 Replies)
Discussion started by: Stellaman1977
6 Replies
2. Shell Programming and Scripting
I have a process that crashes quite often. I'm unable to fix it since I'm not the developer and it is beyond my control to do so. However restarting the process will fix the issue which is fine.
I would like to receive a notification via email that the process has failed so I can login and... (5 Replies)
Discussion started by: deaconf19
5 Replies
3. Solaris
I try and start a short script nohup the nohup immediately stops.
Here's the code
#!/bin/sh
rm backup.out
for i in `cat /home/xxxxx/Allservers.txt`
do
echo "Logging onto $i"
ssh -qt $i '/usr/local/bin/sudo "/src/bkupsa"'
done >>backup.out
Any ideas? (3 Replies)
Discussion started by: ekrause77
3 Replies
4. Shell Programming and Scripting
Hi'
i am runing a script thats run with a loop...while loop true.
when i exit the server..logon and again the script doenst run.
its a bash script test.sh.
i run it as:
#./test.sh &
what can be the priblem please?
thanks alot (6 Replies)
Discussion started by: zigizag
6 Replies
5. UNIX for Dummies Questions & Answers
my ksh script is not working...
i wanna remove lines in file2.txt from file1.txt
# cat file1.txt
this is line one
this is line two
this is line three
this is line four
this is line five
# cat file2.txt
this is line two
this is line three
# cat my_script.ksh
#!/bin/ksh
i=1
y=1... (8 Replies)
Discussion started by: curtis911
8 Replies
6. Shell Programming and Scripting
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.
The crontab looks like the following:
@reboot /home/user/program config.conf &
I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies
7. Shell Programming and Scripting
The while loop exits (early) when a simple ssh command is run.
#!/bin/ksh
#set -x
#-------------------------------------------------------------------------
# Functions Section
#-------------------------------------------------------------------------
while :
do
cat list.txt|while read... (1 Reply)
Discussion started by: bkdias26
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a script which part of it mails an attachment. The command is
uuencode $v_file_name.zip "output.zip" | mailx -s "$v_subject" $v_to_email
There is a problem that it only sends 199K of an attachment. Is there a reason why it would stop at 199K? I've search the net and nothing... (2 Replies)
Discussion started by: m1l
2 Replies
9. Solaris
Hi,
SUN E3500 box.
boot cdrom -s
create disk partitions
mount on /a one of the partitions
cd /a
ufsrestore -rf dev/rmt/0n
Starts create de inodes
Starts the extraction
and then......
stops the extraction without any error and didnīt extract all files
and stays forever waiting for i... (1 Reply)
Discussion started by: spacewalker
1 Replies
10. AIX
Hi
can anybody help me when i boot up my machine the LED runs until it gets to 406coch6 and it simply stops their
noting appears on the screen...?
Is their a website that lists all the codes and their meaning
Thanks
Liam (2 Replies)
Discussion started by: lodonovan
2 Replies