Tagged Questions
2
votes
1answer
96 views
How to create a script, which runs another script in separate terminal window and does not wait?
I wrote the following
#!/bin/bash
cd ~/bin/red5-1.0.0
gnome-terminal --working-directory=. -x red5.sh
red5.sh is the script to run (this is java written media server).
My script above opens new ...
5
votes
1answer
1k views
Executing a script in zsh - file permissions
I'm confused about execute file permissions not behaving as I expect. Probably because my expectations are wrong. Anyway:
I have a script file, for simplicity is just called s, located in ~/bin. For ...
2
votes
1answer
266 views
using Set uid to run a root command from non-root user
Consider the following two files. summarize's executable UID bit has been set, so that another user belonging to another group can execute the summarize executable that uses the customers.dat file.
...
3
votes
2answers
155 views
Finding program name by wildcard pattern
I am trying to write a script that will attempt to find if a certain program is installed. Lets say that the program is called, myprog. The problem is that the program can be named in different ...
2
votes
1answer
635 views
skype not found on Oneiric 64, but it is right there [duplicate]
Possible Duplicate:
Can't execute some binaries in chroot environment (zsh: Not found)
I have something weird here. Cannot find a file although it is right there.
$ skype
command not ...
0
votes
0answers
178 views
python error using an executable with Z shell
I'm getting this error from the Unix Z shell (I'm on Mac):
python: posix_spawn: /System/Library/Frameworks/Python.framework/Versions/2.6/Resources/Python.app/Contents/MacOS/Python: No such file or ...
8
votes
3answers
229 views
Is there a way to execute a native binary from a pipe?
echo 'main(){}' | gcc -xc - -o /dev/stdout | ???
Is there a way to run the output binary on a unix-like system?
EDIT: I needed it to run the output of g++ in a sandboxed environment where I can't ...
1
vote
2answers
161 views
Weird executabe behaviour
I have a server machine with ubuntu 9.10. I am trying to put in place an executable, which turns out to be the latest flashplayer (debugger version).
Somehow the file appears as present and ...
4
votes
3answers
231 views
Why do you need the “./” when executing programs in the current directory? [duplicate]
Possible Duplicate:
Why do we use “./” to execute a file?
It seems redundant and gets annoying after a while -- is there a way to change this? If not, can somebody explain the ...