🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3343

Re: What command in a file batch do logout user (Unix or Linux)?

#3343
From: Michael Heiming
Date: Sat, 02 Mar 2002 11:47
23 lines
1838 bytes
Francis (<a5qd1m$ro3$1@pegasus.tiscalinet.it>):

> Hi,
> I'm a student of Italy and not advisory expert...
> I have a problem:
> I have created a program that analize ping's site and packet
> trip... Whereas program hold out about 40 min... I would like that
> it will do logout,
> so the computer is free for another user...

You probably mean the keyboard? UNIX/Linux are multi user OS, it 
doesn't really matter if there's one or twenty users logged in, 
despite, the will of course need to share the resourcess...

> What command in a file batch do logout user?

$ your_prog > file.out  < /dev/null >& /dev/null & 
Or
$ nohup your_prog &

Michael Heiming
--
Remove the +SIGNS case mail bounces.
Technical Details
Message-ID: <54eq5a.893.ln@charon.heiming.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!charon.heiming.de!nobody
References: <a5qd1m$ro3$1@pegasus.tiscalinet.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f8c9b,6747122e884ff174
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: fc89c,6747122e884ff174
X-Google-Attributes: gidfc89c,public
X-Google-Thread: 110f2c,6747122e884ff174
X-Google-Attributes: gid110f2c,public
X-Google-Thread: 1012a6,6747122e884ff174
X-Google-Attributes: gid1012a6,public
X-Google-ArrivalTime: 2002-03-02 03:45:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!news.supernews.com!charon.heiming.de!nobody
From: Michael Heiming <michael+USENET@heiming.de>
Newsgroups: comp.unix.programmer,comp.unix.questions,comp.unix.shell,fr.comp.os.unix
Subject: Re: What command in a file batch do logout user (Unix or Linux)?
Followup-To: comp.unix.shell
Date: Sat, 2 Mar 2002 12:47:17 +0100
Organization: Hu?
Message-ID: <54eq5a.893.ln@charon.heiming.de>
References: <a5qd1m$ro3$1@pegasus.tiscalinet.it>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Newsreader: (knode - Linux 2.4.17)
X-Complaints-To: newsabuse@supernews.com
Lines: 23