0
votes
1answer
61 views

How to write a script to install multiple things by just executing it

I have a server (centOS) on which I would like to install the staple development tools. Java, Tomcat, and MySql. What is a good way to write a script that can be ran on newly spawned server so that ...
2
votes
1answer
31 views

Strange behavior with execution permission

For exercise - I removed execute permission for others from /bin/pwd: $ chmod o-x /bin/pwd $ ls -l /bin/pwd -rwxr--r-- 1 root root 26568 Apr 28 2010 /bin/pwd and as logged as matt I cannot ...
0
votes
5answers
331 views

A file that exists doesn't exist. (Bash claims a file exists when it doesn't.)

root@omega-15:/var/unreal/src# find ./ircd ./ircd root@omega-15:/var/unreal/src# ./ircd bash: ./ircd: No such file or directory What the hell is this? Bash thinks that the file doesn't exist, when ...
5
votes
8answers
3k views

Bash can't start a programme that's there and has all the right permissions

This is a gentoo server. There's a programme prog that can't execute. (Yes the execute permission is set) About the file $ ls prog $ ./prog bash: ./prog: No such file or directory $ file prog prog: ...