10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Friends,
We have a application "getstatus" which needs to run on application prompt.
But it is not working with shell script.
Example:
Unix Root Prompt#
execute "crp" to go to application prompt
CRP>getstatus
displays output of app health
CRP>exit
Unix Root Prompt#
Script , which... (2 Replies)
Discussion started by: suresh3566
2 Replies
2. Shell Programming and Scripting
Hi,
The below command is not giving me the count , Can somebody help me in re-writing this pls .
Proc_Exist=`ssh -q -o "BatchMode=yes" -o "PasswordAuthentication=no" $OAUSER@${Primary_Node} ps -ef |
grep -v grep | grep "${ICM_Proc}" |wc -l `
Also the same problem with below... (13 Replies)
Discussion started by: Y.balakrishna
13 Replies
3. Shell Programming and Scripting
I frequently use some commands, which I want to save in some file say myregularshell.shthese are the commands I use, I tried saving and executing, but couldn't get the preview of execution, and result is also not coming if I copy same commands and paste it on terminal result is coming
cd go... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
4. Shell Programming and Scripting
I made a configuration file for my shell script in that all the values that the shell scipt needs, are defined, but I don't know how to let the shell script use those defined variables.
Thank you for your help :) (3 Replies)
Discussion started by: Alkali
3 Replies
5. Shell Programming and Scripting
Hi All,
I am trying to execute a shell script containg awk commands. But unable to do so. Below is my script. Please help.
The name of the script is scan.sh and I have tried executing it using the command sh scan.sh
It is giving an error which reads like:
awk:syntax error near line 7... (3 Replies)
Discussion started by: misb
3 Replies
6. UNIX for Dummies Questions & Answers
commands to execute unix script (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
7. Shell Programming and Scripting
Hi,
I am trying to write a shell script which execute certain commands within certain folders in each user's home directories
I started off with a bash script -
#!/bin/csh -f
su -l cvsusr1
cvs -d /home/cvsadm/repository status
But the shell script finishes immediately after... (1 Reply)
Discussion started by: rupa_lahiri
1 Replies
8. Shell Programming and Scripting
Hi All,
I need to execute the following "vi" commands in my script. How can I do that??
pls help me....
1. escape (escape mode)
2. gg (goto first line)
3. shift+v (visual mode)
4. shift+g (goto to last line)
5. = (alinment)
Thanks in advance,
Saravana (3 Replies)
Discussion started by: askumarece
3 Replies
9. Shell Programming and Scripting
Hi All,
Please let me know how do I execute some of the shell commands like cat, find ,grep within sftp.
Any help in this regard would be greatly appreciated.
Thanks, (5 Replies)
Discussion started by: tommy1
5 Replies
10. Shell Programming and Scripting
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies