03-19-2009
execute a program remotely using putty
Quote:
Originally Posted by
mehrdad68
Try this
nohup ./ur-program > /dev/null 2>&1
or
nohup ./ur-program > stout.log 2>&1
thanks mehrdad68.
Now it works.
10 More Discussions You Might Find Interesting
1. AIX
How to remotely execute a script on a VMS system ?
rsh ?
Thanks in advance (0 Replies)
Discussion started by: ivancleber
0 Replies
2. UNIX for Advanced & Expert Users
How to remotely execute a script (.COM ) on a VMS system ?
rsh ?
Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies
3. Shell Programming and Scripting
How to remotely execute a script (.COM ) on a VMS system ?
rsh ?
Thanks in advance (1 Reply)
Discussion started by: ivancleber
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
i want to write a script that executes a program (exec?) .
this program then requires a filename as input.
how do i give it this input in the script so the program will be complete run and close by the script.
e.g.
exec prog.exe
program then asks for filename
"enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies
5. Shell Programming and Scripting
Hi,
What is the best way to remotely execute a script?
Scenario:
1 Unix box creates a file and moves it to a 2nd unix box
2nd unix box must then move the file to a windows server
How can i execute the ftp script on the 2nd server, I need to schedule the command to automate it!?
I... (3 Replies)
Discussion started by: mcclunyboy
3 Replies
6. Shell Programming and Scripting
Hi all,
Today I want to write a script to run the commands remotely.
If I run the command as follows:
ssh <user>@<ip> 'ls; pwd'
it works fine.
But when I want to use ssh to set view in clearcase, it will lose the response. as follows
ssh <user>@<ip> 'cleartool setview <view_name>; pwd'... (1 Reply)
Discussion started by: Damon_Qu
1 Replies
7. Shell Programming and Scripting
I have successfully used a script to modify putty's window title for many years. It has worked great in a Solaris 10 environment, using, sh, bash and tcsh. But I've never been able to get it to work in linux :(
The script relies on sending escape sequences via gnu echo. The version of echo on... (4 Replies)
Discussion started by: tsreyb
4 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I would like to remotely execute soffice with different users on a remote machine.
Basically I am connected to the machineA as user John. I would like to execute several soffice to the remote machineB.
The remote machine B has different users R,S on the same group.
I can launch remotely... (12 Replies)
Discussion started by: Robert2011
12 Replies
9. Shell Programming and Scripting
Hi All,
I have a typical problem where I have HP unix and want to connect to Solaris 5.10 box and run a shell. I tried with multiple forums but it does not help.
As per my analysis, there is no ssh in my machine and so i cant connect to solaris box,secondly ftp to the solaris server is not... (2 Replies)
Discussion started by: cskumar
2 Replies
10. Shell Programming and Scripting
Hello
Can some help with write part of perl script
I need something like this in perl
SSH="/bin/ssh -o BatchMode=yes -o"
USER="test"
SRV="server"
SCRIPT_TO_EXEC="/tmp/test.sh" -> shell script
OUT=/tmp/out.file
${SSH} -l ${USER} ${SRV} 'sudo /usr/bin/ksh -s' < ${SCRIPT_TO_EXEC} >> ${OUT}... (1 Reply)
Discussion started by: vikus
1 Replies
LEARN ABOUT XFREE86
nohup
NOHUP(1) User Commands NOHUP(1)
NAME
nohup - run a command immune to hangups, with output to a non-tty
SYNOPSIS
nohup COMMAND [ARG]...
nohup OPTION
DESCRIPTION
Run COMMAND, ignoring hangup signals.
--help display this help and exit
--version
output version information and exit
If standard input is a terminal, redirect it from an unreadable file. If standard output is a terminal, append output to 'nohup.out' if
possible, '$HOME/nohup.out' otherwise. If standard error is a terminal, redirect it to standard output. To save output to FILE, use
'nohup COMMAND > FILE'.
NOTE: your shell may have its own version of nohup, which usually supersedes the version described here. Please refer to your shell's doc-
umentation for details about the options it supports.
AUTHOR
Written by Jim Meyering.
REPORTING BUGS
GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
Report nohup translation bugs to <http://translationproject.org/team/>
COPYRIGHT
Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
Full documentation at: <http://www.gnu.org/software/coreutils/nohup>
or available locally via: info '(coreutils) nohup invocation'
GNU coreutils 8.28 January 2018 NOHUP(1)