Linux How To Set Up Permanent Bash Alias

everythingdigital1
everythingdigital1
5.1 هزار بار بازدید - 3 سال پیش - An alias is a shorthand
An alias is a shorthand you can set up to launch a custom command or change a way a command works. I done some examples and down bellow or in the comments I will add some more examples you can copy and paste. But all you need to do is edit the .bashrc file and add your custom alias's there. If you can't find the .bashrc file use "locate" command to find it.
-----------------------------------------------------------------------------------------------------------
Alias example you can edit and copy and paste!!!
alias CustomAliasHere='command you wish to use here'
-----------------------------------------------------------------------------------------------------------
Some Example Alias's You Can Use!!!
alias rm= 'rm -i'    Forces for confirmation before deletion using rm command
alias ducks='du -cks * | sort -rn | head' popular alias to show top largest files.
-----------------------------------------------------------------------------------------------------------
Last Video " Probe Requests "What They Do And How ... "
-----------------------------------------------------------------------------------------------------------
Please Visit: " http://everythingdigital1.com "
3 سال پیش در تاریخ 1399/12/24 منتشر شده است.
5,137 بـار بازدید شده
... بیشتر