LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-05-2006, 07:38 PM   #1
amazingsol
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Migrating from Unix to Linux


I'm an old SCO Unix user whose migrating to Red Hat Linux Enterprise. I'm trying to find out where commands are stored that are executed when a user logs in. In SCO it is in the .profile file in the user's home directory but I can't find it in Linux. I'm logging in in text mode, not GUI.
Thanks!
 
Old 10-05-2006, 08:49 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
Quote:
Originally Posted by ^H^H^H in man bash
When bash is invoked as an interactive login shell, or as a non-inter-
active shell with the --login option, it first reads and executes com-
mands from the file /etc/profile, if that file exists. After reading
that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile,
in that order, and reads and executes commands from the first one that
exists and is readable. The --noprofile option may be used when the
shell is started to inhibit this behavior.

When a login shell exits, bash reads and executes commands from the
file ~/.bash_logout, if it exists.
Bash being the default shell.

I'm an old SCO Unix user whose migrating to Red Hat Linux Enterprise.
Please note we have an RH and Enterprise forum as well.
 
Old 10-06-2006, 01:06 PM   #3
amazingsol
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks!

Thanks, I'll see if I can find any of these files. If not, I'll create my own.
 
  


Reply


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
LXer: Migrating and Moving UNIX Filesystems LXer Syndicated Linux News 0 07-22-2006 03:33 AM
Migrating Unix Users and Folders chrisfirestar Linux - General 1 09-24-2005 05:20 AM
Unix Book for Beginners (Not Linux... Unix) suse2166 General 6 11-25-2004 12:46 PM
UNIX (Linux, BSD, etc) Programming :: UNIX kuphryn Programming 8 04-05-2004 12:50 AM
migrating unix mail to linux karwoski Linux - Software 1 12-04-2003 11:56 PM


All times are GMT -5. The time now is 09:55 AM.

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