10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have application commands to execute in shell script it is something like this. i will login with user data it takes me to $ prompt. Example given below
ps : xxxx
$ MNSinput --this takes me to greater than prompt >
> ops --this is command i enter this output... (7 Replies)
Discussion started by: udaykrishna
2. Shell Programming and Scripting
I need to execute below command in shell script
srvctl relocate service -d $database -s $service -i $avail -t $pref -f and also need to get the errors ,if any,in another file.
What's the right way to execute such commands in shell script?
Vishal (1 Reply)
Discussion started by: Vishal_dba
3. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4. UNIX for Dummies Questions & Answers
I have to write a shell script to telnet to specific host and execute the admin command there. Please help me to do that.
Eg : telnet hostname portno
exit (3 Replies)
Discussion started by: arukuku
5. Shell Programming and Scripting
I need to run a script whenever the Cron file is modified.
The requirement is whenever a user modifies the cron file, the script should run automatically.
Can you please provide your inputs ? (5 Replies)
Discussion started by: harneet2004us
6. Shell Programming and Scripting
I have just started doing shell scripting.
I want to read a file which stores the status of my job I have submitted
on a cluster.
The file looks something like this :
crab: Checking the status of all jobs: please wait... (4 Replies)
Discussion started by: learn_linux
7. Shell Programming and Scripting
I am new to UNIX and Shell scripting . I am not able to execute a shell file . I try to do it using the below command.
but it shows an error that 'cannot execute ' what might be the reason for this? pls help me to resolve it. (1 Reply)
Discussion started by: Deepakkumard
8. Shell Programming and Scripting
Hi, i facing a problem when run the script below..
printf "Please enter a name : "
read response # the problem occur here
# Check that name does not contain invalid... (14 Replies)
Discussion started by: neruppu
9. Shell Programming and Scripting
I don't know why the following shell script doesn't work. Could you please help me out?
test="cal > /tmp/tmp.txt 2>&1"
I know it will work for the following format:
cal > /tmp/tmp.txt 2>&1
However, I need to get the command from the user in... (1 Reply)
Discussion started by: redtiger
10. Shell Programming and Scripting
I have this below script...I want to execute the shell command "rm" in the below script
but it is not working. Can anybody why so?
I got the below error
rm: /users/amvarma is a directory
sh: /*-log*: not found
$op_1=$ARGV; # for... (0 Replies)
Discussion started by: amitrajvarma