Tagged Questions
0
votes
2answers
55 views
How many types of architectures and OSes
I am trying to write a script python script that is supposed to run across all linux based OSes. The python script invokes executables of few existing tools(for example pathload and iperf) that I have ...
0
votes
3answers
129 views
Is shebang always the same as the interpreter's installation directory?
Must the shebang header always match the interpreter's installation directory? If so, then why do both #!/usr/bin/python and #!/usr/local/bin/python work for me?
7
votes
1answer
745 views
how to convert a shell script into binary executable?
I want to convert my shell scripts into binary executable so that nobody else could edit or read it.Is there any way to convert it into binary executable?
10
votes
2answers
283 views
Shebang line with `#!/usr/bin/env command --argument` fails on Linux
I've got a simple script:
#!/usr/bin/env ruby --verbose
# script.rb
puts "hi"
On my OSX box, it runs fine:
osx% ./script.rb
hi
However, on my linux box, it throws an error
linux% ./script.rb
...
0
votes
2answers
109 views
Why won't my binary run?
I have a binary that runs on my Debian Squeeze system, but then it doesn't do anything on my Debian Wheezy (kernel Linux 3.2.0-4-amd64) system. Both systems are 64 bit, while the executable is a 32 ...
0
votes
1answer
65 views
Are .so files in Fedora considered ELF files?
ELF 'Executable and Linkable Format' So if I generate Shared Object files .so are those considered ELF files?
9
votes
1answer
370 views
What is Linux doing differently that allows me to remove/replace files where Windows would complain the file is currently in use?
The example I have is Minecraft. When running Bukkit on Linux I can remove or update the .jar files in the /plugins folder and simply run the 'reload' command.
In Windows, I have to take the whole ...
1
vote
2answers
256 views
Ubuntu Linux and SCO UNIX OpenServer
Can Ubuntu Linux run SCO UNIX OpenServer 5.0.7 applications like filePro? Can I use CTAR to copy application directories from a CTAR backup tape to Linux Ubuntu?
2
votes
0answers
202 views
Can capabilities be used in scripts without setcap'ing the interpreter binary?
Right now I'm using cap_net_bind_service MY_USERNAME in /etc/security/capability.conf.
Now I just need to set cap_net_bind_service+i on the interpreter of my favouite scripting language to be able to ...
1
vote
1answer
258 views
ld-uClibc.so missing
I am trying to run an executable on Angstrom Linux, but ash tells me
-sh: ./myEx: not found
I've checked with readelf the program interpreter and it is
root@beagleboard:~# readelf -l myEx | grep ...
3
votes
1answer
71 views
What does CONFIG_IA32_AOUT do actually?
I'm running a 64bit kernel, already have CONFIG_IA32_EMULATION set, so do I still need CONFIG_IA32_AOUT enabled?
From the help in menuconfig, I don't quite get it.
3
votes
3answers
93 views
Join the executable and all its libraries
Lets say I have a /bin/cat executable that uses the following shared libraries:
linux-vdso.so.1
libc.so.6
/lib64/ld-linux-x86-64.so.2
Is it possible to somehow "join" that stuff together ...
2
votes
1answer
955 views
Problem with executing Firefox version 9.0.1
I cannot run firefox version 9.0.1. When i try to execute the binary firefox I get an error -bash: ./firefox: cannot execute binary file. The info returned by file is as follows:
firefox: ELF 32-bit ...
2
votes
1answer
341 views
Set executable heap
The execstack program can be used to mark ELF-binaries as needing an executable stack.
Is there a similar way to mark the heap as executable? Preferably for a single binary but if that's not ...
23
votes
4answers
743 views
Execution of possibly harmful program on Linux
I'm writing a program that will test programs written by students. I'm afraid that I can't trust them and I need to make sure that it won't end up badly for the computer running it.
I was thinking ...
