So first I show the file I want as in the current directory
Code:
randy@diablo:~/.juniper_networks/network_connect$ ls -l ncs*
-rwxr-xr-x 1 root root 1167208 2009-03-11 08:40 ncsvc
Now I verify that a program can interact with it, and tell me it's type
Code:
randy@diablo:~/.juniper_networks/network_connect$ file ncsvc
ncsvc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
Now I'll even take a look at the beginning of the file's contents
Code:
randy@diablo:~/.juniper_networks/network_connect$ xxd ncsvc | head
0000000: 7f45 4c46 0101 0100 0000 0000 0000 0000 .ELF............
0000010: 0200 0300 0100 0000 80d5 0408 3400 0000 ............4...
0000020: e0ca 1100 0000 0000 3400 2000 0800 2800 ........4. ...(.
0000030: 1d00 1c00 0600 0000 3400 0000 3480 0408 ........4...4...
0000040: 3480 0408 0001 0000 0001 0000 0500 0000 4...............
0000050: 0400 0000 0300 0000 3401 0000 3481 0408 ........4...4...
0000060: 3481 0408 1300 0000 1300 0000 0400 0000 4...............
0000070: 0100 0000 0100 0000 0000 0000 0080 0408 ................
0000080: 0080 0408 4145 1000 4145 1000 0500 0000 ....AE..AE......
0000090: 0010 0000 0100 0000 0050 1000 00d0 1408 .........P......
Now I try to execute the file
Code:
randy@diablo:~/.juniper_networks/network_connect$ ./ncsvc
bash: ./ncsvc: No such file or directory
I'm now totally lost. How can I list the file in the directory, interact with it's contents, and even display it's contents, but then when I try to run it Bash can't find it?
I'll be most grateful to anyone that can clear this up for me!
Bookmarks