I have been searching around for a while and have not been able to find an answer to this. Whenever I use the command line in Ubuntu it always lists the full directory back to my home directory, how to I set it to only show the current working directory.
Best guess for default Ubuntu install
Find where your
You can do an initial check of this method thus:
It is probably being set in your
There are different variations on how to do this depending on what shell you are using and how it is set up. For example, you might conceivably have your prompt set up like this:
In which case you will want to do: