[UCLA-LUG] Problem executing a C program
Josh Barratt
jbarratt@ucla.edu
Sun, 14 May 2000 16:48:52 -0700
> I do have a question though, how do I set it up such that I don't have
> to type "./" before a.out?
If you aren't networked or anything I wouldn't really worry about it . . .
all you have to do is add "." to your path. If you are using bash, just edit
the .bash_profile file's PATH= line so it says
PATH=$PATH:.:$HOME/bin: . . . etc. I mean, if you are just using this for
CS111 and aren't really going to do the whole linux thing long term there's
no real reason to learn good habits.