10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am trying to stream lines written into file. When first source is down, I expect the code to swap to second line and run it.
Script below works as usual and it prints out each line of the input file (s.txt):
#!/bin/bash
while read -r line;
do
echo "$line"
done <"$1"
exit 0Output... (12 Replies)
Discussion started by: baris35
12 Replies
2. HP-UX
Hello,
I have managed to install rsync using swinstall and also as far as I can tell the dependancies we didn't have. However when trying to execute the binary I get the following error :-
/>rsync
sh: rsync: Execute permission denied.
/>which rsync
/usr/local/bin/rsync... (10 Replies)
Discussion started by: YogaBija
10 Replies
3. Shell Programming and Scripting
Hello,
I am have an issues with one of my scripts. I get the following error when I get to the point in the script where I am making the change. The change does take however. the error is "change: xecho: execute permission denied"
Everything was working properly until I start cleaning... (3 Replies)
Discussion started by: simpsonjr
3 Replies
4. AIX
Friends ,
I am going to update the oracle version from '10.2.0.1.0' to '10.2.0.4.0' in AIX 6.1 . During upgradation it needs to run the following script as root user :
sh /usr/sbin/slibclean
But when this script is run then it shows the following error :
# sh /usr/sbin/slibclean
sh:... (7 Replies)
Discussion started by: shipon_97
7 Replies
5. OS X (Apple)
Hello,
I am using Tiger 10.4.11
I am trying out the GIMP, so I installed the X11 package from "Optional Installs" on the cd.
Whenever I open X11, I get an error:
xterm: could not exec /dev/null: Permission denied
I have chmodded /dev/null to 777, as well as the /tmp directory.
I deleted... (2 Replies)
Discussion started by: Ricardo-san
2 Replies
6. AIX
Hello All,
We have an existing ssh set-up between 2 Unix servers ( Server A and Server B). Recently, we've had a problem where we cannot delete files (via app engine and even manually, after connecting thru ssh) on Server B. We manage Server A but Server B is handled by a different group, as a... (1 Reply)
Discussion started by: chipahoys
1 Replies
7. AIX
Hi
i am running the below script in vio server,
i changed to aix mode..then
#./script1
</code>
##Set today Date as file name.
vardate= date +"%m%d%y%H%M%S"
varhost= hostname
filename= "$varhost_$vardate"
echo $filename
</code>
the output is .......
</code>
# ./mount_test ... (6 Replies)
Discussion started by: honeym210
6 Replies
8. UNIX for Advanced & Expert Users
hi,
i have a problem and is needed by next week.
when i need to run a program at the specified time using the crontab, after that the program which will send a messege to the screen using the say command, which will show "Hello"
but there is an error when i run it, in the mail it show that
... (5 Replies)
Discussion started by: ckng
5 Replies
9. UNIX for Advanced & Expert Users
When I do a 'cd /appl' and issue 'ls -al' command, I get the following error for .. directory.
./..: Permission denied
But still I get a listing of other directories under /appl.
Also, if I give 'man' for any command under this /appl folder, I get the following error:
... (3 Replies)
Discussion started by: Deepa
3 Replies
10. UNIX for Dummies Questions & Answers
I am very new to Unix. We have a script that will remove files from a directory. The account removing the files has the same permissions as the directory the files are located. We have logged in as the account and deleted the files from that directory but when we run the script with the account... (7 Replies)
Discussion started by: Cech2002
7 Replies