Tip: Remove Long List of Files

How to delete long list of files in Linux?

Let’s say you have a long list of files that you want to delete and simply running rm -fv * just won’t work and Linux will let you know by giving you this error:

Argument list too long.

When you get this error, it means that the number of files is too many for the kernel to process.

There is a simple workaround for this.
Read the rest of this entry »

Popularity: 17% [?]

Tip: How to Delete Files with Special Characters

How to delete files with dash or any special character?

Have you tried to delete a who-knows-where-it-came-from file which has a special character like preceded with dash or question mark? I bet that when you tried to delete it, you got something like this:
Read the rest of this entry »

Popularity: 13% [?]

What Happens After rm -rf / ?

Here is what happens when you do the dreaded “rm -rf /” command in Linux:

:))

Popularity: 15% [?]