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
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
Comments
Post a Comment
Please share your experience.....