How do I run an alias in Linux?

thanhthao

New member
How do I run an alias in Linux?
Answer
What you need to do is type the word alias then use the name you wish to use to execute a command followed by “=” sign and quote the command you wish to alias. You can then use
“wr” shortcut to
go to the webroot directory. The problem with that alias is that it will only be available for your current terminal session.
 

Tìm kiếm

Back
Top