A little Linux “commandlinefu” fun to share – for geeks & nerds

Let’s imagine that you wanted to make Proton Drive work in Linux because the people from Proton only appears to provide Proton Drive apps for MacOS, iOS, Windows and Android. And you found this blog post Sync Proton Drive on Linux with Rclone and you went ahead without reading all that carefully first and created a new folder

~/ProtonDrive

Then after reading some more (and you see that you need to first configure rclone), you realize you were pretty tired already and wanted to do other things, including this wonderful thing called sleep.

And you think “Let’s remove that new folder” so I will not be distracted by that tomorrow when I’m busy with other computer things.

You type in :

rm ~/ProtonDrive

And you get an error because it is a directory and the rm command needs more powers from you to be able to remove a directory.

Now instead of getting annoyed and wanting to remove all that you had typed in, you can simply add the needed “minus rf” to what you already typed, so it will look like this :

rm ~/ProtonDrive -rf

You see ? Linux can often be very flexible.

And how do I know this ? I liked to experiment and do crazy things in the past, e.g. testing whether little Linux tools would use -h or –help and whether –hel would also work and for some tools it turned out it really DID. Now that I’m a bit older I don’t do that anymore (jk).

I mentioned commandlinefu in the title, here’s a site only about real commandlinefu :

https://www.commandlinefu.com/commands/browse