Google News
logo
Unix - Interview Questions
How would you remove a File in Unix?
We can use the rm command to remove files from Unix. If you want to delete a file, you need to get write permission on the parent directory as well as execute permission.

Syntax
rm { file name }?

For example, if you want to remove a text file, you can use write the command as follows
rm abc. txt?
Advertisement