- Linux: How do I remove a file that has a name starting with a dash?
Linux: How do I remove a file that has a name starting with a dash?
Use the full path or add ./ in front. To remove a file called "-junk" do this:
This works for renaming, touching and copying too.
Copyright © 2008-2024, dave. Code samples on Dave's Brain is licensed under the
Creative Commons Attribution 2.5 License.
other material, including English text has all rights reserved.