Diety Dieticheskie-produkty Protsedury Sredstva Uprajneniya Fitnes Gimnastika Yoga Pitanie Tsellyulit Zdorove Krasota

FreeBSD comes with CSH (C shell) as default., that do not show full path of present working directory. We need to change default shell to BASH (Bourne-again shell) using following command:

# chsh -s /usr/local/bin/bash

You must have BASH in /usr/local/bin/ if not you can get it via ports.

# cd /usr/ports/shells/bash
# make install clean

To see the changes exit the session and login again. Now you can see full path like in my case

[root@freebsd /usr/ports/shells/bash]#
Tagged with:

One Response to How can I show the full path of directory in command line Freebsd

  1. Placing the “%/” within your prompt string on tcsh works fine here.

    See also tcsh(1).

    (apologies if the link is messed up)

Leave a Reply

Your email address will not be published. Required fields are marked *