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

FreeBSD

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]#

1 thought on “How can I show the full path of directory in command line Freebsd”

Leave a Reply

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