The Alias command in GNU/Linux and helpful tips with it


I did not add sudo to this, purposely, so at least system files can’t be deleted through this method, but caution must still be used. Tip: Type alias to display the list of aliases set on the Linux machine. Here are some other aliases that you might find useful! alias home=’cd /home/martin/’ – Switch to the /home/martin/ directory when you type the alias. Last thoughts ADVERTISEMENT Aliases can make things so much faster when working with the command line, but always be careful not to set aliases up that could destroy your system with a simple keystroke, like a=sudo rm -rf *as this runs far too many risks.


Visit Link


Tags: