mylinuxnotes
Thursday, August 12, 2010
How would you delete a file named -f ?
How would you delete a file named -f ?
Soln:-
i) use rm's -- argument to tell that everything that follows is a filename and not an option ex:- rm -r -- -f
ii) refer to file by complete path name
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment