10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Is there any specific command to use to check only say Running jobs via autorep or similar command for Autosys? (0 Replies)
Discussion started by: sidnow
0 Replies
2. Shell Programming and Scripting
Hi,
I need to check if a file exists on remote server using expect.
#!/bin/bash
ip_addr=10.10.10.10
user=root
passwd=Help
filename=/root/test
expect -c "
spawn ssh -n -T -o NumberOfPasswordPrompts=3 -o StrictHostKeyChecking=no $user@$ip_addr
expect \"*?assword:*\"
send --... (6 Replies)
Discussion started by: temp_user
6 Replies
3. Shell Programming and Scripting
Input is list of Server's, script is basically to remove old_rootvg, So it should check first command "alt_rootvg_op -X old_rootvg" if it passes move to next server and starts check and if it fails moves to other command "exportvg old_rootvg" for only that particular server. I came up with below,... (6 Replies)
Discussion started by: aix_admin_007
6 Replies
4. AIX
Hi Friends,
I am not able to execute snap -a command in AIX 6 system. Could you please let me know how to make work this command and Path to be set.
Thanks in Advance
Siva. (4 Replies)
Discussion started by: sivakumarl
4 Replies
5. UNIX for Dummies Questions & Answers
Hello all... i am unable to use tar commands on my intel machine in solaris 10 by tying this "tar cvf /dev/rmt/mydata.tar/mydata" and created mydata directory, msg is "No:Missing Files" Please advise (5 Replies)
Discussion started by: VijaySolaris
5 Replies
6. Shell Programming and Scripting
Hello ...again.
I am stuck on this part, I have a loop with processes an operations file.
and calls different functions depending on what is in loop, which processes a database file...
#so far my add function works as intended
add()
{
...blah blah;
}
# delete is kinda working... (13 Replies)
Discussion started by: gcampton
13 Replies
7. Solaris
Hi buddies, I have T1000 and Solaris 10 installed on it. After a power failure system shut down improperly.
Error Message is
WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/rdsk/c0t0d0s0).
Jul 18 10:16:09 svc.startd:... (6 Replies)
Discussion started by: ahsen
6 Replies
8. Shell Programming and Scripting
It seems that regardless of finding or not finding the file find's exist status is 0. How can i tell (in a shell script) if find has actually found the file ?
sameagain-lm:~
$find /opt/cisco-vpnclient
/opt/cisco-vpnclient
/opt/cisco-vpnclient/bin
/opt/cisco-vpnclient/bin/cisco_cert_mgr... (3 Replies)
Discussion started by: hiphamster
3 Replies
9. UNIX for Dummies Questions & Answers
Hi:
I have a script with the next command line
>set a=(grep -w "something" textfile.txt | grep -w "anotherthing" | cut -c1-11)
In the file textfile.txt there are some file names and their paths so when I use this command line it returns a path, for example /directory, and stores in a.
... (3 Replies)
Discussion started by: bosh
3 Replies
10. BSD
Hi,
I'm unable to do 'su' on my FreeBSD6.2 machine, I can remote ssh login as root but 'su' simply doesn't work at all. The message I get says that "The Operation Not Permitted".
Requesting any help. Thanks in advance. (3 Replies)
Discussion started by: Praveen_218
3 Replies