To create the alias use the following syntax:
CURL COMMAND MAC UNIX HOW TO
How to define or create a bash shell alias The general syntax for the alias command for the bash shell is as follows: How to list bash aliasesīy default alias command shows a list of aliases that are defined for the current user. Want more info? I recommend a quick Google search for "Bash aliases" or a trip to GitHub.ģ0 Handy Bash Shell Aliases For Linux / Unix / Mac OS X More about bash alias
bash_profile file, which is located in your home folder. To use a Bash alias you've created, you need to add it to your. Need some examples to get you started? No problem! They allow you to condense long, cryptic commands down to something easy to remember and use. How many times have you repeatedly typed out a long command on the command line and wished there was a way to save it for later? This is where Bash aliases come in handy. Get more efficient by using condensed versions of long Bash commands.