Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
.bash_profile Exit

.bash_profile Exit

2003-12-02       - By Aaron Konstam

 Back
Reply:     1     2     3     4     5     6     7  

On Mon, Dec 01, 2003 at 08:46:39PM -0600, James Kaufman wrote:
> On Tue, Dec 02, 2003 at 10:43:28AM +0800, Suat Lee wrote:
> > Hi,
> >
> > We had just upgraded Linux from 6.2 to 7.3 and is having problem with
> > .bash_profile's 'exit'.
> >
> > User's .bash_profile reads as follows:
> > ...
> > cd /dir1
> > ./menu
> > exit
> >
> > When user login, menu will be prompted for user to start a few processes
> > and those processes are supposed to be running even after user exit from
> > login session. In 6.2, this is running well.
> >
> > In 7.3, the processes are killed whenever user exit from login session.
> > If those lines were commented, and user manually cd /dir1 and ./menu,
> > the processes will be running well after exit. Is there a way to keep
> > the processes running after exit in .bash_profile of 7.3?
> >
> > Rgds,
> >
> >
>
> Take a look at the 'nohup' command.
>
The hohup command should do it but it is hard to believe the commands
ran after exit even in 6.2.
--
-- ---- ---- ---- ---- ---- ---- ---- -----
Aaron Konstam
Computer Science
Trinity University
715 Stadium Dr.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@(protected)