Sponsored Content
Full Discussion: Help with a logout scrpt
Operating Systems Linux Ubuntu Help with a logout scrpt Post 302320653 by mark54g on Thursday 28th of May 2009 01:18:00 PM
Old 05-28-2009
~ refers to your home directory, however, the commands you wrote are to delete the files you own in /tmp and /var/tmp.

That would also be counter intuitive, as you could simply cron the deletion.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

logout command

hi all The "last" command shows the last login time of the user. is there any command for last logout time. as usual, replies are appreciated. thanks boys. raguram R (6 Replies)
Discussion started by: raguramtgr
6 Replies

2. Red Hat

How do you logout from a session?

Hello all - I'm finishing up a script that I wrote. This is what I did: I added some lines to the .bash_profile that will call my startup script: cd $HOME/startup ./startup.scr This startup script will create some directories, move some files, and then startup an application: cd... (4 Replies)
Discussion started by: Heron
4 Replies

3. UNIX for Dummies Questions & Answers

logout

Every time the ksh script completes I got message - logout. I don't want to see this message.... Can someone give me a clue Thanks in advance. ZAM SunOS 5.9 Generic_118558-19 sun4u sparc SUNW,Sun-Fire-880 (2 Replies)
Discussion started by: zam
2 Replies

4. Shell Programming and Scripting

.logout help

We have an application that uses the csh shell as the default. We can not change this as when we upgrade it will change back to csh. We have several people that log in with this id. I would like to create a .logout exit script to audit what transactions were performed, termal, etc. Does... (3 Replies)
Discussion started by: 2dumb
3 Replies

5. UNIX for Dummies Questions & Answers

auto logout

How do I disable the auto logout for remote logins to a host (2 Replies)
Discussion started by: lethgowerboy
2 Replies

6. Solaris

.logout

I want to execute script while exiting a session, to gather session details. How to implement this in Solaris 10 (3 Replies)
Discussion started by: sharif
3 Replies

7. UNIX for Dummies Questions & Answers

Exit or logout

When I want to close my session I can use exit or logout, and a lot of manuals use both of them indistinctly. So, Is there any difference between exit or logout?? Or are both of them exactly the same command?? I forgot to mention that I am using a RedHat Unix. Thanks for your help. Kinai. (1 Reply)
Discussion started by: kinai
1 Replies

8. Linux

What happens when user logout?

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 .......... (1 Reply)
Discussion started by: yhacks
1 Replies

9. HP-UX

How to logout

Hi I am using UNIX version. HP-UX HP-UNIX B.11.00 I am writing a script which on certain condition should logout of unix. But with exit command i am not able to get this.. Plz suggest how i should logout of the session directly. (9 Replies)
Discussion started by: manish.s
9 Replies

10. Post Here to Contact Site Administrators and Moderators

unix.com keeps logout me

Hi Admin, I am living in singapore. When i use the unix.com in office, it works well ( in that time, it says "you are somewhere around USA(some country) - because my proxy is USA" Once i come to home and connects, it keeps logout... is that any settings i need to change ? ---------- Post... (1 Reply)
Discussion started by: itkamaraj
1 Replies
LXSESSION(1)							  http://LXDE.org						      LXSESSION(1)

NAME
lxsession-logout - program to logout from LXSession SYNOPSIS
lxsession-logout [options...] DESCRIPTION
This manual page documents briefly the lxsession-logout command. lxsession-logout is a program that to logout from LXSession. It gives a good-looking logout dialog. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. --prompt Your custom message Customize the logout message. --banner Your logo Customize the logout logo. --side left|top|right|bottom The position of the logo. SEE ALSO
lxsession (1). AUTHOR
This manual page was written by paulliu grandpaul@gmail.com for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. AUTHOR
Ying-Chun Liu Author. COPYRIGHT
Copyright (C) 2008 paulliu http://LXDE.org March 2, 2008 LXSESSION(1)
All times are GMT -4. The time now is 08:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy