1
I accidentally created a directory who's name begins with the "$" character, and now I can't figure out how to ls
its contents or rm -r
it altogether.
I've tried quoting the name like this ls "$[dir-name]"
as well as escaping the special character like ls \$[dir-name]
, neither of which worked.
Any tips? Thanks!
think twice before executing
rm *file
because that will delete all files with filenames ending in "file" – lesmana – 2011-04-24T08:52:24.640