[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] crontab editor



> On 1/8/2004 3:51 PM, Ligard, Vidar felt like writing:
> 
> >>I have been looking for ~/.bashrc and cannot find it.  Could
> >>somebody please let me know where it is, and how I add this 
> >>line.  Is it one file for the whole RaQ4, or one for each site?
> > 
> > 
> > There is one for each user, in the user's home directory. The ~ in 
> > front of the / simply means 'my home directory'. The . 
> (period) is the 
> > first character of the filename, and makes it a hidden 
> file. I think 
> > the file is more commonly called .profile If you don't have any of 
> > these two files, you can just create one of them. Do an 'ls 
> -a' to see 
> > hidden files also.
> 
> .profile is not the same as .bashrc.  Read the man page on 
> bash (long, I 
> know, but it will be edifying) to see how bash reads these 
> files when it 
> starts.
> 
There are a series of files that are read when the shell is started, and there is a certain order to them, .bashrc and .profile is only two of them.
.profile is read by both bash and the old sh shell.
I just figured for most users, it won't make a big difference which one they edit, or create if none of them are there.
-Vidar