Tamir Halperin wrote:

Questions:
what happens is you try something like this?

1) My aliases don't work. Why?
your quotes are in the wrong place.

try: alias seti = 'cat /var/db/setiathome/state.sah | grep prog'

do these work for you?

[/usr/ports/java/jdk13]:: bash --version
bash --version
GNU bash, version 2.05b.0(1)-release (i386-portbld-freebsd4.6)
[/usr/ports/java/jdk13]:: cat >> /home/paul/.profile
alias TEST='echo this is a test.'
[/usr/ports/java/jdk13]:: . /home/paul/.profile
[/usr/ports/java/jdk13]:: TEST
this is a test.


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?

. ~/.profile will reread/reload it.


3) Is there a good tutorial about environment settings and other issues such as the ones I'm struggling with?

you could look for some bash dotfiles. the ORA book is a good reference.

see also: http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=bash+tutorial&btnG=Google+Search
--
Paul Beard / 8040 27th Ave NE / Seattle WA 98115 /
paulbeard [at] mac [ dot] com / 206 529 8400

weblog @ <http://paulbeard.no-ip.org/movabletype/>

The problem with people who have no vices is that generally you can be
pretty sure they're going to have some pretty annoying virtues.
-- Elizabeth Taylor


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

Reply via email to