Quote:
Originally Posted by vash_uk
Why is pwd unnecessary?
|
Because "." does the same thing and is faster, less complicated, and again, will still work if your current directory has spaces in the name or path.
Quote:
Originally Posted by vash_uk
if you try to rm a directory you will get an error message and the directory won't be deleted.
|
So it's going to litter the terminal with "cannot remove" errors, a bit ugly isn't it? And what about the files that don't have dots in the names?
Quote:
Originally Posted by vash_uk
Who uses file names with spaces or bad characters?
|
A lot of people...
Quote:
Originally Posted by vash_uk
I posted a reply because there was no "one liner"
|
Post #5