Contents
Type the rm command, a space, and then the name of the file you want to delete. If the file is not in the current working directory, provide a path to the file’s location. You can pass more than one filename to rm . Doing so deletes all of the specified files.
How do I remove a script in Linux terminal?
To remove (or delete) a file in Linux from the command line, use either the rm (remove) or unlink command.
How do I clear a Linux script?
You can use Ctrl+L keyboard shortcut in Linux to clear the screen. It works in most terminal emulators.