Re: nohup



vinayag <ravinayag@xxxxxxxxx> wrote:
See if the problem goes away if you start the program with

nohup command >outputfile 2>&1 &

no i am not obey this cmd..

You will have to write English if you want me to understand you.

i am not sure about this command.

let u explain the details...
nohup command >outputfile 2>&1 &

what has the 2 represents here....???

One more thing I ask of you: please do not top post.

Ok, I'll explain a little more detailed.

Since you said that you cannot close the ssh window after you have started
a command with nohup, I wondered whether it could be connected to
standard output or standard error - the '>outputfile' would redirect
standard output to 'outputfile', and the '2>&1' would redirect standard
error to standard output (in that case, also to 'outputfile').

I realize not that my suggestion is probably quite useless because
'nohup' automatically redirects stdout and stderr to a file.

Maybe the command you start opens a window on X? Is that possible?

Yours,
Laurenz Albe
.



Relevant Pages

  • Re: last character of the last line is a newline?
    ... Would it be possible to redirect only to a file. ... output to standard output. ... # to stdout and to your_file ... Substitute your_program by the compound command of your original posting: ...
    (comp.unix.shell)
  • Re: How to get text from a graphic image
    ... > I took a screen snapshot of a terminal window ... go and take a look at the redirection options in bash or whatever shell ... Output from a command ... In most cases if all you want is the standard output from a command logged ...
    (Fedora)
  • Re: crontab
    ... The previous message is the standard output ... > and standard error of one of the cron commands. ... Have you tried running the command from the shell? ...
    (comp.unix.aix)
  • Re: Making a 1:1 copy of a CD in CD-Creator
    ... > I ran CDRDAO from the command line. ... reason is that it is writing to standard error, not standard output. ... > FREE BUFFER MEMORY FOR ASPI-ROUTER!, ... still got a command outstanding using the buffer. ...
    (comp.os.os2.apps)
  • Re: Redirecting the standard error and output
    ... > standard output by following command ... > But I was not able to redirect my error messages from the above ... Which the command for redirecting both error ...
    (microsoft.public.vc.language)