]
[mailto:[EMAIL PROTECTED]]On Behalf Of David E. Fox
Sent: Monday, January 15, 2001 11:42 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] -C code=
On Monday 15 January 2001 07:46, you wrote:
> For anyone doing any kind of binary executable or script development this
> is indeed a good reason for
On Monday 15 January 2001 07:46, you wrote:
> For anyone doing any kind of binary executable or script development this
> is indeed a good reason for adding "." to your $PATH variable. In most
> environments
This is very bad advice for security reasons. You should never put '.' in
your path -
>>... If this is a binary file,
>>already compiled and linked, to execute type from the directory where it's
>>located:
>>
>>./your_bin_file
>>
>>and type ENTER (RETURN), if you don use ./ the system try to find your the
>>name you type as a binary file
You need to type ./ before the program name! You must read the following when
ls -l your_bin_file, for example:
-r-xr-xr-x1 userowner group 4024 Jan 12 09:55 your_bin_file
the x flags at left indicate a executable file. If this is a binary file,
already compiled and linked, to execu
Did you replace the word 'file' with the actual file name? If the file is
'myprogram.c', then you should 'chmod +x myprogram.c', and you need to be
working in the same directory ('cd mydir', where 'mydir' is the directory
where your *.c file exists) as the file is in, or include the path to the
lll wrote:
> i just downloaded a c program and it said to make it executable 'chmod
> +x file', and when im going to run it it just says that the file
> doesnt exist..
>
> helP.
>
are you using the format ./program_name or typing the full path of the
program. If the directory that the progr
On Sun, 14 Jan 2001, lll wrote:
>i just downloaded a c program and it said to make it executable 'chmod
>+x file', and when im going to run it it just says that the file doesnt
>exist.. helP.
What did you download? The c-source code?
Making that +x won't help. You have to compile it first:
gcc
i just downloaded a c program and it said to make
it executable 'chmod +x file', and when im going to
run it it just says that the file doesnt
exist..
helP.