You can run your program as a command means you don't have to suffer from the path where you saves your programs for this you have to only do following three steps:- 1. Create program file , 2. Change the mode of file or give the execute permission , 3. move the file into bin directory. Example 1. vim filename 2. chmod 755 filename 3. mv filename /bin/ Now "filename" can be run as such as command runs. #filename
Hello! Welcome to my Technical blog. My Name is Rakesh Kumar and I’ve more than 7 years of experience in Linux and Open Source technologies. If you are looking for technical information about Linux(Server Hardening, Diagnostics & Troubleshooting etc), Ansible, OpenStack Cloud Solution, Containers(K8s/OCP), DevOps, Machine Learning and Nagios Event Monitoring tool.... you have come to the right place. "I believe Learning and earning shouldn't stop", This is my story!