Always need to enter password again

Volker Wysk post at volker-wysk.de
Sat Oct 12 17:49:35 UTC 2019


Am Samstag, den 12.10.2019, 13:39 -0400 schrieb Robert Heller:
> At Sat, 12 Oct 2019 19:10:30 +0200 "Ubuntu user technical
> support,  not for general discussions" <ubuntu-users at lists.ubuntu.com
> > wrote:
> 
> > Am Samstag, den 12.10.2019, 16:06 +0100 schrieb Colin Law:
> > > On Sat, 12 Oct 2019 at 15:34, Volker Wysk <post at volker-wysk.de>
> > > wrote:
> > > > Looks like I have to live with it.
> > > 
> > > Do you use the terminal often enough that it is a nuisance?  If
> > > so I
> > > wonder why.  I generally only use it when the GUI is playing up
> > > and I
> > > need to do something to sort it out.  I am not saying you should
> > > not
> > > use it, just interested in the use case that needs it routinely.
> > 
> > You're right. I don't use it that often. But sometimes I have a
> > long-
> > running job which I don't want to do in a terminal window. When I
> > check
> > the progress, I need to switch to the virtual console and back. It
> > just
> > happened to happen a few times recently. Not sure any longer what
> > it
> > was precisely.
> 
> man nohup
> man bash (search for "REDIRECTION")
> man nice
> 
> Eg: 
> nohup nice ./long-running-job-script.sh >& long-running-job-
> script.log </dev/null &
> 
> Then some time later:
> 
> tail long-running-job-script.log
> 
> will give you the last few lines written to the log file.

I was aware of all that, except for the "</dev/null" part. Why haven't
I used it for this purpose? Silly me.

Cheers
Volker





More information about the ubuntu-users mailing list