Thanks for responding, but actually I am logging in as myself (not root). On Monday 08 September 2003 11:47 pm, Richard Urwin wrote: > On Tuesday 09 Sep 2003 2:25 am, J Adam Latham wrote: > > Hello all ... > > > > I'm beginning to learn C programming and recently came across an odd > > occurence. > > > > When my system is set to boot into graphical mode (via MCC->Boot) > > everything with the C programs works fine ... They compile and > > execute. However, if I disable the graphical environment at boot > > (i.e., boot into a shell, if that's the right terminology) the C > > programs will compile w/out error, but they won't execute ... > > Instead, I get the following message > > > > "- bash: a.out: command not found." > > It sounds like you are logging in as root when not in the graphical > environment. > > Root usually does not have the current directory in the execution path, > as a security protection against trojans. > > ./a.out > > should work. A better plan would be to log in as a regular user.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com