9 More Discussions You Might Find Interesting
1. SCO
Hi,
I am using SCO Unix. I write a script to execute a program by calling
exec program
The script will check the program is still there or not, if not, then it will exit the script by calling
exit
So if I press DEL to quit the program, the script will exit, but it will logout... (6 Replies)
Discussion started by: dannychan
6 Replies
2. Shell Programming and Scripting
Good Evening all,
After spending the last week or so reading many posts I decided to register and join in. This is my first post on the forum so please forgive me as im new to this, Im after some help in throwing together a quick basic script without using expect to change the password on several... (4 Replies)
Discussion started by: mutley2202
4 Replies
3. UNIX for Dummies Questions & Answers
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS).
Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies
4. Shell Programming and Scripting
Hi Everybody,
I want to run my own script on logout , i can use .bash_logout file... problem is this will work only for that particular user... i want to know the common file... so that script wil run for all the user...
2. How to run script on Shutdown ?
Thanks in advance
Anitha (4 Replies)
Discussion started by: anisn2002
4 Replies
5. Shell Programming and Scripting
Good evening you scripting guru's!
I have the following script to delete a file on logout of a Mac :
find . –name com.apple.sidebarlists.plist –exec rm -f {} \;
It works fine in terminal and when logging out. However, it takes forever to run the script at logout...A minute and a half.
... (12 Replies)
Discussion started by: AGGreenLinux
12 Replies
6. OS X (Apple)
Dear readers
I use SnowLeopard 10.6.2 and need to do some special tasks at login and logout of an sepcific user.
My problem is, how do I send a string "login" respectively "logout" from computer "A", where the login/logout script runs, to computer "B" where some other tasks need to be done.
... (3 Replies)
Discussion started by: tthaler
3 Replies
7. UNIX for Advanced & Expert Users
hi all ,
I need to run few commands on user logout.
A non-root user should be able to edit that script which runs after logout.
I need to make the solution both all Linux versions as well as
Mac.
Can any body help me in this regard. (0 Replies)
Discussion started by: harsha10
0 Replies
8. UNIX for Dummies Questions & Answers
hi all ,
Need to a run a program on user logout (using GNOME log screen).
Tried using .bash_logout for this purpose but that doesnt seem to work.
Similar to .bash_logout is there any script /program which a normal user (other than root ) can edit and run it on their logout?
can anybody... (0 Replies)
Discussion started by: harsha10
0 Replies
9. UNIX for Dummies Questions & Answers
Hi all
I know ho I can run a script when a user logs in, viz using the .login or .profile file, however what can I use to run a script when a user logouts ?
Thanks
J :confused: (1 Reply)
Discussion started by: jhansrod
1 Replies