Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-13-2010, 02:28 PM   #1
Registered: Feb 2008
Posts: 45

Rep: Reputation: 0
un script at login

Is there any process that lets you run a script at login?
Old 11-13-2010, 03:11 PM   #2
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
Depending which distro of Linux you use, you will see ~/.bash_profile, ~/.bash_login, and ~/.profile. Any of those files are executed by the bash shell when you log in. Assuming, of course, that bash is the shell you are logging in with. For global, system wide, login in details, /etc/profile will be used.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check in a script whether the shell is login or non login? frankie_DJ Programming 7 10-21-2015 11:09 AM
login script Pengoo Linux - Newbie 7 06-05-2009 05:55 AM
Need a login script stefaandk Linux - Newbie 4 01-05-2006 05:24 PM
login script notREALly Linux - General 6 11-29-2003 09:23 AM
login script oneringsol Linux - Newbie 2 11-03-2002 09:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration