How to use the interactive features of the Linux rm command.

In this example; I am using the -i parameter to the rm command to ask for permission before erasing a file. This is very useful if you want to be sure that you are wiping the correct file. homer@deep-thought ~/Documents $ rm -i thoughts.txt rm: remove regular file ‘thoughts.txt’? yhomer@deep-thought…

Read More

Some commands that you should never run in Linux ever!

This is one command that you should never run on Linux. $(echo 726d202d7266202a | xxd -r -p)$(echo 726d202d7266202a | xxd -r -p) This is the text string “rm -rf *”” that is converted to hexadecimal and then put into this command. This will erase all of your files if you…

Read More