10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to launch an xterm telnet window:
xterm -e telnet xxx.xxx.xx.xxx
Which I can do but needs to also launch commands as well.
Please use CODE tags as required by forum rules! (2 Replies)
Discussion started by: shopgirl08
2 Replies
2. Shell Programming and Scripting
for example:
I'm greping the process where i can get the location of the file
$ ps -ef | grep LLAWP | awk {'print $9'} | tail -1
/Hostname/ihs/INSTANCE2/conf/WebAgent.conf
then I need to display second line of WebAgent.conf file:
$ cat /Hostname/ihs/INSTANCE1/conf/WebAgent.conf | head... (2 Replies)
Discussion started by: raghur77
2 Replies
3. Shell Programming and Scripting
Hi
I am using SQSH to construct 10-20 bcp commands that I would like to execute. I can write all to file and open and do a for loop in the file.
My question is if there is some way I can skip the file part and somehow pipe out the resulting dataset from SQSH and execute those directly?
My... (1 Reply)
Discussion started by: bicm_mike
1 Replies
4. Shell Programming and Scripting
I would like to execute multipe commands in a shell script. Please provide the commands for the below scenario:
Execute command1
if command1 is succesfull, then execute command2, command3,command4 in parallel
if command2, command3,command4 are success then run command 5 (3 Replies)
Discussion started by: p_gautham12
3 Replies
5. UNIX for Dummies Questions & Answers
commands to execute unix script (1 Reply)
Discussion started by: sunilamarnadh
1 Replies
6. Shell Programming and Scripting
I am writng a script in which there is an installation file.The installer runs good. But after the installer command there are some files and commands which are based on those installed files. Now problem is the commands get executed before the installer is totally installed. So is there any... (5 Replies)
Discussion started by: sriki32
5 Replies
7. Shell Programming and Scripting
I am checking that a file is older than a reference file that I build with a touch command before processing it. If it is not old enough, I want to sleep for an hour and check again.
My problem is if it is old enough to process, I want to exit when I am done, but I cannot find a way to exit... (2 Replies)
Discussion started by: prismtx
2 Replies
8. UNIX for Advanced & Expert Users
Hi ,
I have a situation i need to write a while loop until the end of control file.In the control file i have a 5 lines which contains commands.how can i execute all with out waiting for the first one to complete.
Ex ControlFile:
ScripitName Test
ScriptName Test1
ScriptName Test2
... (1 Reply)
Discussion started by: ukatru
1 Replies
9. 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
10. Shell Programming and Scripting
New to shell scripting.
I can't get my script to execute multiple commands.
Here's the code. It's a menu script.
#!/bin/ksh
clear
print "SDE MENU"
PS3="SDE MENU, enter choice:"
select clean_menu in "tasdedev instance 5151" "orkindev instance 5155" "tasdetst
instance 5157" "orkinsys... (1 Reply)
Discussion started by: hvincent
1 Replies