Member Avatar for ziyaddinsadigov

I saw that github commands in linux terminal always uses word "git" before all it's commands. How to use my own word for my shell script?
for example, $ git commit or $ git status

git is the command name - it is what you are executing. If you want to have a program that does what git does then you create a script that will call git. If you want a script that does something entirely different you name it what you want and place the commands in there that you need.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.