commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
I had a file named " " (one space) and needed a way to see what the real filename was so I could remove it. sed to the rescue.
There are 2 alternatives - vote for the best!
Tested and works on Linux.
Looks like you're stuck with sed if your ls doesn't have a -Q option.
If you can do better, submit your command here.
You must be signed in to comment.