rm filename

Q. Accidentally, I had created a file called -foo. Now how do I remove a file with a name starting with ‘-’ under UNIX or Linux operating system? A. Use standard UNIX rm command, as follows: rm command Use rm command to remove files or directories as follows rm ./-foo rm ./-filename rm — -foo [...]

{ 6 comments }

How do I copy files under Linux operating systems? How do I make 2nd copy of a file?

{ 5 comments }