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:
Looks like you're stuck with sed if your ls doesn't have a -Q option.
There is 1 alternative - vote for the best!
Tested and works on Linux.
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.
If you can do better, submit your command here.
You must be signed in to comment.