How to remove a file?

QuestionsQuestions8 SkillsProBasic Files OperationsOct, 27 2025
083

To remove a file, you can use the rm command followed by the filename. Here’s the syntax:

rm filename

Replace filename with the name of the file you want to remove. For example:

rm old_report.txt

This command will delete the specified file.

0 Comments

no data
Be the first to share your comment!