How to delete these files?

0101

To delete the files you created (note_1.txt, note_2.txt, note_3.txt, note_4.txt, and note_5.txt), you can use the rm command in the terminal. Here’s how:

rm note_*.txt
  • rm: This command is used to remove files.
  • note_*.txt: The * wildcard matches any characters, so this will delete all files that start with note_ and end with .txt.

If you want to delete them one by one, you can specify each file name:

rm note_1.txt note_2.txt note_3.txt note_4.txt note_5.txt

Be cautious when using the rm command, as it permanently deletes files without moving them to a trash or recycle bin.

If you have any more questions, feel free to ask!

0 Comments

no data
Be the first to share your comment!