3
votes
4answers
80 views

making a bash script executable programatically

I need to create a bash script to create and mount a drive. So, two simple commands. Both "work" when entered at the command line. The script is created and executed every time a normal user logs in, ...
1
vote
3answers
72 views

Help creating a messagebox notification with yes/no options before an application runs

I started using Ubuntu alongside Windows about 2 months ago. I've slowly been adding all of the programs that I use regularly to Ubuntu, so that I will eventually be able to do everything in Ubuntu ...
1
vote
2answers
151 views

Execute a command when add a new file in folder

I am not sure weather it's possible or not. I am looking for a script/command that will execute a command or run a scripts when I will add a file in a folder. For instance: I am practicing bash ...
3
votes
1answer
78 views

Bash script callable from home but not scripts directory

I'm having a very weird error when trying to make a script callable. I have a scripts directory in /srv/projectname/scripts where I store you know scripts to be called as cron jobs for different ...
2
votes
1answer
158 views

Bash error when trying to execute a file

i am kinda new to linux and in programming so please excuse my lack of knowledge. I'm trying to run a basic program named trial.c with an executable file named trying but when I type ./trying in the ...
4
votes
2answers
2k views

“No such file” when running a 32-bit program on a 64-bit system

I downloaded a Chromium snapshot and unzipped it, like this: michael@ubuntu:/opt/chrome-linux$ ls chrome libffmpegsumo.so nacl_irt_x86_32.nexe chrome.1 ...
8
votes
3answers
19k views

How do I create a script file for terminal commands?

In Windows I can write a file containing commands for cmd (usually .cmd or .bat files). When I click on those files it will open cmd.exe and run them commands the file contains. How would I do this ...
1
vote
2answers
3k views

Library missing for executable file

There's an executable I downloaded onto my Ubuntu 10.04 and I can't run because it's missing a library. I have also tried compiling the source with CMake. This is my Terminal output: ...
1
vote
2answers
415 views

How to organize scripts and tools under ~/bin in directories, but have them in $PATH?

I always have ~/bin added to the $PATH in my ~/.profile. As is default in Ubuntu. # set PATH so it includes user's private bin if it exists if [ -d "$HOME/bin" ] ; then PATH="$HOME/bin:$PATH" fi ...
2
votes
3answers
419 views

Ubuntu Equivalent of portable executable file

I am developing an application which had some dependency and for that i use external tools. One example is that i use putty's commandline tool plink.exe to telnet/ssh remote machine from java program. ...
2
votes
2answers
2k views

How to run an executable bash script on Kubuntu?

I have recently changed my OS from Ubuntu 11.04 to Kubuntu 10.04 but don't know how to get my executable bash scripts to run on Kubuntu. On Ubuntu all I did was click on the text file and I was given ...
1
vote
2answers
712 views

How to access executable in a seperate partition? [duplicate]

Possible Duplicate: How to 'chmod' on an NTFS partition? I have just started using Ubuntu and I have my hard drive set up with an Ubuntu partition, a Windows 7 partition and a much ...