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. UNIX for Dummies Questions & Answers
Hi,
I am new to shell scripting and have a question. I would like to redirect the output of multple commands to single file, From what I read from the bash manpage and from some searching it seems it cannot be done within the shell except setting up a loop. Is it?
I am running all clearcase... (1 Reply)
Discussion started by: saku
1 Replies
3. Shell Programming and Scripting
Hi All
I have written the following script:
#!/bin/ksh
while read cmdline
do
echo `$cmdline`
pid="$cmdline"
done<commands.txt
===========
commands.txt contains:
ps -ef | grep abc | grep xyz |awk '{print $2};
My objective is to store the o/p of the command in a variable and do... (8 Replies)
Discussion started by: rahulparo
8 Replies
4. Shell Programming and Scripting
I have a Bourne Shell script that is normally run as a background job and redirects it's output to a file internally (using exec >>); I use "set -x" to capture each command which provides me with a nice shell execution log if it all goes to pieces.
I now also need to be able to also run this as... (4 Replies)
Discussion started by: AncientCoder
4 Replies
5. 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
6. UNIX for Dummies Questions & Answers
I am attempting to write a shell script that runs a program which generates data and then runs another program to plot the data. The problem is that I need the plotting to take place in a different terminal window that stays open after the plotting has finished. I have experimented 'xterm -e '... (1 Reply)
Discussion started by: chris2051
1 Replies
7. Programming
Hello all,
i've written a small piece of code that will read commands from standard input and executes the commands.
Its working fine and is execting the commands well. Accepting arguments too. e.g
#mkdir <name of the directory>
The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies
8. UNIX for Dummies Questions & Answers
hi
I'm trying to launch admintool via an export DISPLAY.
that is i am doing a rlogin to serverB from serverA.
i did the command
export DISPLAY=serverA:0
but it prompted me the error
DISPLAY=serverA:0: is not an identifier
i have searched the forum but there is not much things on this error... (3 Replies)
Discussion started by: legato
3 Replies
9. Shell Programming and Scripting
I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this?
xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl (1 Reply)
Discussion started by: douknownam
1 Replies
10. UNIX for Dummies Questions & Answers
Hello all,
This is a lame question because I have been working with unix for some years now, but anyway here it is;
What is an xterm?
ivo (1 Reply)
Discussion started by: Ivo
1 Replies