Search Results

Search: Posts Made By: alphakg
Forum: Programming 07-22-2006
9,113
Posted By alphakg
cc
I still need help with compiling!
Forum: Programming 05-24-2006
9,113
Posted By alphakg
I am using unix from rootshell.be using puTTY on...
I am using unix from rootshell.be using puTTY on windows xp.

$ ls -l
total 104
-rwxr-xr-x free 11595 May 23 00:10 a.out
-rwxr-xr-x free 11595 May 23 17:57 hello2...
Forum: Programming 05-23-2006
9,113
Posted By alphakg
I changed the permission for the executable but I...
I changed the permission for the executable but I still get

bash: ./hello2: Permission denied
when I run hello2
Forum: Programming 05-23-2006
9,113
Posted By alphakg
I added the export statement to .bashrc and...
I added the export statement to .bashrc and .bash_profile and saved it
then I executed . .bashrc command from command prompt
then I compiled using cc -o hello2 hello2.c and gcc -o hello2 hello2.c...
Forum: Programming 05-22-2006
9,113
Posted By alphakg
I get both a.out and hello2 when I compile...
I get both a.out and hello2 when I compile hello2.c using gcc and cc.My problem is that when I want to run either a.out or hello2,I get the error:"bash: hello2: command not found"
I am in bash...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 02:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy