I made a command for a user user1 so when i write in terminal cool-retro-term
it runs the application
If I switch user to user2 and I try to run cool-retro-term
or sudo cool-retro-term
it says the command not found
I want to know how to make the command usable for all users. Until now I installed and compiled the application like they said. then i made a bash script in /home/user1/bin
where i added
#!/bin/bash
/home/user1/cool-retro-term/cool-retro-term
to run my application
I modified .bashrc PATH=$PATH:/home/crs/bin
and then I ran chmod u+x /home/crs/bin/cool-retro-term
I EDITED my question
i want to make my command something like ls
or cd
or other command usable for all users. something like that . ANY IDEAS?