![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .logout | sharif | SUN Solaris | 3 | 12-24-2007 01:08 AM |
| setup a logfile for user login/logout ??? | pwd | UNIX for Dummies Questions & Answers | 3 | 04-02-2007 12:10 AM |
| setup a logfile for user login/logout ??? | pwd | HP-UX | 0 | 03-28-2007 12:45 AM |
| logout | zam | UNIX for Dummies Questions & Answers | 2 | 12-28-2006 03:23 PM |
| Canīt logout to user inactive | lalox | UNIX for Dummies Questions & Answers | 1 | 07-31-2004 06:31 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Hi
When executing some commands, we need to re-login into the account. What happens when logged out and login ? Are there any scripts (.bashrc .... ) to be executed or to update system files. Help Me .......... |
| Forum Sponsor | ||
|
|
|
|||
|
if you source a shell script that has the exit keyword in it, your process ends and you have to login again. No regular user command, like ls, awk, etc. will do that.
Code:
# sourcing a script note the leading dot . myscript # sourcing a script on linux - you can do this as well as the dot notation source myscript # this will not log you out myscript Code:
kill $$ |
|||
| Google UNIX.COM |