How to delete a file who's name starts with a space via CLI
I have a file that when I do a ls -l it shows it as having a space as the first character in its name. how can I do a rm on just that one file? i'm not having any luck due to that space to start the file name.
|
What about...
Have you tried the wildcard "?" to replace the blank space? If so, what else have you tried and what results did you get? Have you tried to quote the file name? |
That worked, thanks. is the ? just for a single character wildcard?
|
Hi -
Code:
# EXAMPLE: |
That was easy...
"?" is for one character. Read and learn more. http://www.tuxfiles.org/linuxhelp/wildcards.html |
Thanks to you both.
|
All times are GMT -5. The time now is 03:56 AM. |