In another entry of his Linux 101 series, Jack Wallen shows you how to delete files and folders from Linux using the Command Line Interface (CLI).
Image: Jack Wallen
When you’re using a GUI, deleting a file and/or a folder is as simple as right-clicking and selecting delete. But when you’re logged into a GUI-less server, you won’t have that option. What do you do?
As you probably expected, there’s a command for that. In fact, there’s a single command you can use for both instances. How you use that command varies, depending on what you’re deleting.
SEE: 5 Linux server distributions you should be using (TechRepublic Premium)
Let me explain.
The command in question is rm, which stands for remove. The command is really simple to use. For example, you have a file named TEST and you want to delete it. For that,…