Linked by Shane on Wed 24th Nov 2010 22:40 UTC
General Development "It is sometimes hard to form a mental model of a directory tree when working with the command line. GUI shells tend to provide more visual cues. So, like a lot of Bash users, I used to get around this by printing the current working directory in my shell prompt. However, things can get pretty cramped when dealing with deeply nested directories. A better solution is needed."
Thread beginning with comment 451165
To read all comments associated with this story, please click here.
The article is stupid.
by nflenz on Fri 26th Nov 2010 02:28 UTC
nflenz
Member since:
2010-11-26

Why would I want to print the working directory after I use cd? Am I expected to immediately forget the previous command? If I do forget my working directory, running pwd would be more intuitive than scanning the previous text.

Reply Score: 2