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]#
One Response to How can I show the full path of directory in command line Freebsd
Leave a Reply Cancel reply

Tags
Ad ADT Adword AJAX Android API balancing Binding Calling Class Column Configure Copy Curl Data Database Eclipse Error Gadget Google Hello ini ini_set Install Invite Javascript Late Linux Load Master Method MySQL Output PHP Playground Proxy Replication SeaMonkey Server Slave Static String Table Ubuntu upload_max_filesize






Placing the “%/” within your prompt string on tcsh works fine here.
See also tcsh(1).
(apologies if the link is messed up)