On Mon, Nov 18, 2002 at 11:40:13PM -0500, Tamir Halperin wrote:
> Here's my .profile:
> 
> # $FreeBSD: src/etc/root/dot.profile,v 1.20 1999/08/27 23:24:09 peter Exp $
> #
> PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
> :
> export PATH
> HOME=/root
> export HOME
> TERM=${TERM:-cons25}
> export TERM
> PAGER=more
> export PAGER
> PS1="\w#"
> alias 'lu = /usr/libexec/locate.updatedb'
> alias 'seti = cat /var/db/setiathome/state.sah | grep prog'
> alias 'dir = ls -Fl'
> ~
> 
> Questions:
> 1) My aliases don't work. Why?
> 2) When I make a change, let's say to the aliases, I don't know of any other way for 
>it to take immediate affect unless I log out and log back in again. Is there a 
>command approach to this?
> 3) Is there a good tutorial about environment settings and other issues such as the 
>ones I'm struggling with?
> 
> TIA,
> 
> Tamir

First, get that `dir` alias out of there! ;)

Move the quotes around in your alias declarations, like:
alias dir='ls -Fl'

.profile is read once when you start bash, put commands that you
want to be read new with each instance of bash into .bashrc.

Check out `man bash`.

Nathan

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to