What is “alias ls=’sudo rm -rf ~/*'”?

Linux bash provides the alias keyword in order to as command shortcuts and easily run them without typing complex commands. The rm -rf command is used to remove or delete all files and directories. As you expect the alias ls=’sudo rm -rf~/*’ command creates a shortcut with the ls name which deletes all current user’s … Read more