Mausam Sinha
Mausam Sinha

Reputation: 153

How to make alias of a linux command

/home/ABC/Ladoga

i want to make alias of that line as a Ladoga ** so whenever i type the command **Ladoga ** it will execute the Ladoga command **/home/ABC/Ladoga

Ladoga is basically a script file

Upvotes: 0

Views: 53

Answers (1)

Abhishek
Abhishek

Reputation: 26

Goto Your home directory :- cd ~

Edit .bashrc file in this directory :- vi .bashrc

Add alias command by pressing i :- alias Ladoga='/home/ABC/Ladoga'

Save :- [Esc] :x

Restart Terminal

Upvotes: 1

Related Questions