Executable file can't run

Executable file can't run

Post by vinm.. » Mon, 10 Jan 2000 04:00:00



Folks,

I downloaded a tgz file and untar it according to the writer's
instruction

tar -xvfz aaa.tgz

This gave me the following error

----------
tar: z: No such file or directory
tar: Error is not recoverable: exiting now
----------

I did this

tar -zxvf aaa.tgz or tar xvfz aaa.tgz

I was able to expand it. Now the problem is there is an executable file
in the folder won't run. I checked the permission

-----
-rwxr-xr-x   1 root     root      1737189 Mar 26  1998 abcdefg
-----

it seems everything is OK. Does anybody have clue on what happened? I am
pretty new on Linux. Thanks.

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Executable file can't run

Post by Andrew Puruggan » Mon, 10 Jan 2000 04:00:00


: I was able to expand it. Now the problem is there is an executable file
: in the folder won't run. I checked the permission

: -----
: -rwxr-xr-x   1 root     root      1737189 Mar 26  1998 abcdefg
: -----
where did you put it? Is that dir in your PATH
type this to see:
env

--
jazz            annandy AT dc DOT seflin DOT org
--------Fight for what you believe in:----------
Over-the-Roll Toilet Tissue Grabbers Enlist Now!

 
 
 

Executable file can't run

Post by Charles Sulliva » Mon, 10 Jan 2000 04:00:00



>Folks,

>I downloaded a tgz file and untar it according to the writer's
>instruction

>tar -xvfz aaa.tgz

>This gave me the following error

>----------
>tar: z: No such file or directory
>tar: Error is not recoverable: exiting now
>----------

>I did this

>tar -zxvf aaa.tgz or tar xvfz aaa.tgz

>I was able to expand it. Now the problem is there is an executable file
>in the folder won't run. I checked the permission

>-----
>-rwxr-xr-x   1 root     root      1737189 Mar 26  1998 abcdefg
>-----

>it seems everything is OK. Does anybody have clue on what happened? I am
>pretty new on Linux. Thanks.

You may be unaware that, unlike MS-DOS, the current directory is
not automatically part of the search path.  You can explicitly
add it to the path but there are security reasons for not doing
so.  To run an executable file (e.g., abcdefg) in the current
directory, enter this command:
  ./abcdefg

Let us know if this solves your problem.

 
 
 

Executable file can't run

Post by Akira Yamanit » Tue, 11 Jan 2000 04:00:00




> : I was able to expand it. Now the problem is there is an executable file
> : in the folder won't run. I checked the permission

> : -----
> : -rwxr-xr-x   1 root     root      1737189 Mar 26  1998 abcdefg
> : -----
> where did you put it? Is that dir in your PATH
> type this to see:
> env

The file is probably in the current directory.
To run it:
./abcdefg

Unlike DOS, it doesn't check the current directory first, then
the PATH. In fact, Linux ONLY checks the PATH. This is for
security reasons. (Linux is, after all, a multi-user operating
system.)

 
 
 

1. Executable Files won't run !

Hi,
    I use to run Slacware 3.2 and I had no problems running Netscape or
EZppp to access the internet. I now run Red Hat 4.2 and I installed
Netscape 3,0 and EZppp again but each time I try typing ezppp or
netscape (executable files) from an xterm it says it's a wrong command.
I tried changing the files attributes but to no avail ! Is there someone

who encountered a similar problem that coud steer me in the right
direction. Thanks in advance.

Regards,
Mario

2. Question about cookie values

3. File set as executable won't run on commandline

4. How to stop this

5. Can't run executable files?

6. [PATCH] read_cache_page() cleanup

7. executable file doesn't run

8. Swapping ALT & CTL keys

9. executable files w/o using 'file'

10. Executable Binary File vs. Executable Script File

11. LD'ed executable won't run?

12. How do I write an executable 'batch' file