Re: paths - a newbie question
In [EMAIL PROTECTED], Walter [EMAIL PROTECTED] typed: After installing a port using pkg_add -r util, the only way I know to be able to type util at the command prompt to have it execute is either to reboot, or to make an alias for it by hand. Surely there's a better way. Is there a way to make the OS make a link auto-majically? Thanks. This is your shell, not the OS. Without knowing which shell you are using, I can't say for sure, but you might try the rehash command. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
Mike Meyer wrote: In [EMAIL PROTECTED], Walter [EMAIL PROTECTED] typed: After installing a port using pkg_add -r util, the only way I know to be able to type util at the command prompt to have it execute is either to reboot, or to make an alias for it by hand. Surely there's a better way. Is there a way to make the OS make a link auto-majically? Thanks. This is your shell, not the OS. Without knowing which shell you are using, I can't say for sure, but you might try the rehash command. mike Beauty! Worked great. (It's the /bin/csh.) Maybe someone could add a note on this to the ports/packages section of the handbook?? Thanks. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
On Sat, Apr 05, 2003 at 11:06:02AM -0500, Walter wrote: Mike Meyer wrote: In [EMAIL PROTECTED], Walter [EMAIL PROTECTED] typed: After installing a port using pkg_add -r util, the only way I know to be able to type util at the command prompt to have it execute is either to reboot, or to make an alias for it by hand. Surely there's a better way. Is there a way to make the OS make a link auto-majically? Thanks. This is your shell, not the OS. Without knowing which shell you are using, I can't say for sure, but you might try the rehash command. Beauty! Worked great. (It's the /bin/csh.) Maybe someone could add a note on this to the ports/packages section of the handbook?? I don't wish to be rude, but maybe you could read your shells' manual page, or a book for new UNIX users ? The handbook is rather unwieldy as it is, and is really meant for FreeBSD specific things (hence the name). Sometimes we do hand hold in that document, but there has to be a limit. As I said, please don't take offence. Ceri -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
On Sat, 5 Apr 2003, Walter wrote: [rehash] Beauty! Worked great. (It's the /bin/csh.) Maybe someone could add a note on this to the ports/packages section of the handbook?? Already in there: http://freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html It should be in the FAQ, also, although a quick search didn't turn up a section on rehash itself. (The section above has a note that shows this applies to zsh as well as csh/tcsh.) Tellyawhat: why don't you see if you can find a section on rehash in the FAQ. If you don't, submit a PR for it. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
Maybe someone could add a note on this to the ports/packages section of the handbook?? Already in there: http://freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html It should be in the FAQ, also, although a quick search didn't turn up a section on rehash itself. (The section above has a note that shows this applies to zsh as well as csh/tcsh.) Tellyawhat: why don't you see if you can find a section on rehash in the FAQ. If you don't, submit a PR for it. -Warren Block * Rapid City, South Dakota USA I see it now under 4.5.2.1 Installing Ports from a CD-ROM - I skipped over that part because I do the over-the-internet installs. (And I had expected such a note to be in the Post-installation activities section.) My bad. Sorry. Rehash is noted in a New User tutorial, but I didn't know enough to search for rehash. I guess I'm at the point, as another suggested, where I need to buy a book and start reading. Walter ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
On Sat, 05 Apr 2003 12:10:30 -0500, Walter [EMAIL PROTECTED] wrote: [snip] I guess I'm at the point, as another suggested, where I need to buy a book and start reading. Michael Lucas and Greg Lehey, both of whom know their stuff and have been extremely helpful to many users (my words understate both knowledge and helpfulness), have recently had published or are about to have published, respectively, excellent books on FreeBSD. Mr. Lucas' 'Absolute FreeBSD: The Ultimate Guide to FreeBSD' was published not long ago, and the fourth edition of Mr. Lehey's 'The Complete FreeBSD' should be out in May AIUI. Jud ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: paths - a newbie question
On Sat, Apr 05, 2003 at 05:25:01PM +0100, Ceri Davies wrote: On Sat, Apr 05, 2003 at 11:06:02AM -0500, Walter wrote: Mike Meyer wrote: In [EMAIL PROTECTED], Walter [EMAIL PROTECTED] typed: After installing a port using pkg_add -r util, the only way I know to be able to type util at the command prompt to have it execute is either to reboot, or to make an alias for it by hand. Surely there's a better way. Is there a way to make the OS make a link auto-majically? Thanks. This is your shell, not the OS. Without knowing which shell you are using, I can't say for sure, but you might try the rehash command. Beauty! Worked great. (It's the /bin/csh.) Maybe someone could add a note on this to the ports/packages section of the handbook?? I don't wish to be rude, but maybe you could read your shells' manual page, or a book for new UNIX users ? The handbook is rather unwieldy as it is, and is really meant for FreeBSD specific things (hence the name). Sometimes we do hand hold in that document, but there has to be a limit. As I said, please don't take offence. It's already in the documentation for FreeBSD - try looking in the book 'For People New to Both FreeBSD and Unix' (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html) :) Under the 'Next Steps' chapter it does indeed tell you to 'rehash' after installing new software. Bruce Cran ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]