whenever I need to run a program I wrote in c++ I have to type ./ before the program or it wont run. How do I make it so when In terminal instead of ./program all I have to type is program?
>>1 is the kind of lazy people who run scripts using . script instead of giving them the execution bit. Then the scipt uses exit 1 to signal an error and he gets puzzled why the considered unharmful script logs him out.