10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am having an issue in running a nohup command in a remote linux box from a linux box. Here are the details.
Linux Machine 1: I have a script which starts a services and dumps the output into a log file.
nohup sh weblogic.sh >> /home/log.out &
I have placed the entire command in a... (2 Replies)
Discussion started by: accessbalaji
2 Replies
2. OS X (Apple)
I'm in a situation where I am executing a shell script(Bash) on another machine remotely using ssh, and for various reasons sometimes need to quit it and restart it. The shell script being run does many different things, so its hard to know what process to kill on the remote machine, and even if I... (2 Replies)
Discussion started by: TheDrizzle
2 Replies
3. Shell Programming and Scripting
Hi,
I am running the below script. When i run the script normally it executes fine but when i run the same script using nohup it throws an error as getStatus.sh: syntax error at line 3: `(' unexpected . Can you let me know why it is so?
while
do
. $(dirname $0)/include.sh
cd... (2 Replies)
Discussion started by: vignesh53
2 Replies
4. Shell Programming and Scripting
Hi,
I have an shell script program in a remote linux machine which will do some specific monitoring functionality. Also, have some C executables in that machine.
From a windows machine, I want to run the shell script program (If possible using java).
I tried with SSH for this. but, in... (1 Reply)
Discussion started by: ram.sj
1 Replies
5. Shell Programming and Scripting
I am trying to run the follow command. I am running this from a korn shell script.
rsh foobar ps -fu dram | grep sshd: | grep -v grep | awk '{print $2}' | xargs -I xx kill xx
I get the PID back excluding the xargs part but after adding on the xargs part it fails to locate the PID and is... (2 Replies)
Discussion started by: juredd1
2 Replies
6. Shell Programming and Scripting
Hi ,
How to check whether web server is running from remote machine
How to check whether web server is running on web server itself
Can any one help me soon (1 Reply)
Discussion started by: satheeshkr_cse
1 Replies
7. UNIX for Advanced & Expert Users
Hi All,
This was an interview question
" There is a clean-up shell-script in one UNIX machine and it is connected to 100 other UNIX machines.
Howe can we run the script on all the 100 machines without ftping/copying the script to target machines ?
I was unable to answer, please answer if... (5 Replies)
Discussion started by: coolbhai
5 Replies
8. Shell Programming and Scripting
Hi there
I have a script which is running a remote command on hundreds of boxes, it takes around 5 minutes to return an output from this command and because i am running this all from a central box, it goes off to each box in my for loop sequentially meaning that my script will wait for output... (5 Replies)
Discussion started by: hcclnoodles
5 Replies
9. UNIX for Advanced & Expert Users
if i have a script in my system which i need to run on remote system using ssh, how shall i do it?
One easy way to to first scp it to remote machine and then run it on remote machine using ssh.
Is there any one step way to do it. Preferably one in which i should give password only once (3 Replies)
Discussion started by: vickylife
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I would like to run a process in my gentoo machine from a consolte (putty) in
Windows and would like that this process keep on going when I close the console in Windows (i.e closing this session).
The process should take a long time and I do not want to leave the Windows machine running... (3 Replies)
Discussion started by: pbasil
3 Replies