Ubuntu :: How To Make Script Files Executable
Jun 1, 2010
I would like to make lisp files executable. Ie. i can go like this on the command prompt
./hello.lisp
and it would invoke a .sh script on hello.lisp which would cause the file to execute.
View 5 Replies
ADVERTISEMENT
May 28, 2011
I cant make files executable anymore.using chmod or from file properties.. it isn't working.
AS far as I remember, I didn't make any changes in the user settings and my account has the administrator rights. For an un-executable file, say a jpg or a txt, it can be done.but doesn't happen with a .sh, .py or any other xecutable. chmodi-ing shows no error, but the file isn't executable. Through the GUI, when I check the box , its immediately unchecked again.
View 2 Replies
View Related
Feb 19, 2010
How do you make executable .sh files run automatically without prompting me on whether I want to Run in Terminal, Display, or Run?
View 1 Replies
View Related
Sep 26, 2010
I need to strip the executable flag from all files within a certain directory and sub directories. Right now I'm doing it with a 2 step process
find /dir/ -type f -exec chmod ugo-x {} ;
find /dir/ -type d -exec chmod ugo+rx {} ;
Is it possible to modify the first line so that I can strip exec flag from all non-directory files? Since this needs to be done on a fairly regular basis across a lot of directories and files, I'd prefer not to use a bash script which would slow it down.
View 1 Replies
View Related
Aug 21, 2011
I hope this post stands in the right section.I have a commandline i need to enter in terminal when i want to run a program. i tought lets put that piece of command in an .sh file and just click the file to run the program (then i dont need to open terminal first an give in the command) however the .sh file does not open the program. so i propably need to make a executable (application/x-executable).
View 3 Replies
View Related
Jan 23, 2011
I use wine to execute my games. Now it says all the exes are unexecutable.I'm not very use to ubuntu
View 9 Replies
View Related
Mar 22, 2011
It so happens that some files that I am trying to make executable by chmod +x <filename> or otherwise are not becoming executables, rather the tick mark on the option is removed the very instant I put it on . Is there any thread of virus or any other reason for this.
View 5 Replies
View Related
Jun 16, 2011
I downloaded eclipse from the eclipse site..i had to make the main eclipse file executable..but i cant do that..when i click on "Allow executing file as program"..the tick disappears in a second..
View 9 Replies
View Related
Jul 3, 2010
I have downloaded the file "bitnami-wordpress-3.0-0-linux-installer.bin", it's a Wordpress stack, with PHP and apache and whatnot.. I am asked to make it executable using "chmod a+x <installer file>"what do i do? cd to where it is, and "chmod a+x <bitnami-wordpress-3.0-0-linux-installer.bin>"?and if yes, i just double click on it afterat to run the installation?
View 9 Replies
View Related
Jan 24, 2010
I have created a file named as pm under the path /home/ppp/ i.e. /home/ppp/pmTo make it executable, I've used command: chmod a+x /home/ppp/pm while residing in root directory.But while trying to run from root by typing ./pm or within the directory /home/ppp, it was displaying that directory not found.Please help by providing the step by step procedure, so that I would be able to run my file from root or from the directory.
View 3 Replies
View Related
Mar 11, 2010
I have downloaded google earth in a bin file but I don't know how to convert it into an executable file
View 6 Replies
View Related
Jun 27, 2010
I just installed the nmap for port scanning and then run ./configure , make , make install command respectively. It works and then I successfully installed nmap under /usr/local/bin . nmap is a executable file not .exe . so my question is how can I open it .
View 8 Replies
View Related
Sep 1, 2010
Morning all , not sure how to put this. I have a .sh executable script I use for video encoding. I want the system to be able to see it no matter where in which folder I am. I want to be able to execute that script in terminal in any folder. How can I make it part of the system path. ? Don't know if my wording is right but I think you guys know what I mean.
View 9 Replies
View Related
Feb 15, 2016
I downloaded the tar file form mozilla's website, in which I must click the firefox executable in order for it to run
I'd like the firefox logo to appear in my apps, how do I do it? I already moved the firefox folder to /opt
View 2 Replies
View Related
Feb 20, 2011
I've downloaded firefox 4.0b11.tar.bz2. How should I install it and make executable?
View 7 Replies
View Related
Feb 23, 2011
can chmod make any file executable?
View 4 Replies
View Related
Dec 21, 2009
How Do I make a file a executable program ?
View 3 Replies
View Related
Jul 20, 2011
I tried to install ffmpeg on 7.04(Fiesty Fawn). when i ran ./configure from terminal window, i got error regarding c compiler that unable to make executable file.
View 5 Replies
View Related
Apr 4, 2011
I tried to run Mupen64 on Fedora 14 and SELinux gave me a message (see title of thread). It sounded like a serious problem. Do I have a corrupted version, is it nothing to worry about?
View 1 Replies
View Related
Aug 27, 2010
I'm trying to execute script (java,php) on startup....before this we set it in /etc/inittab and it works find, but lately i found that the php script not startup as usual after we do yum update( although java script still run normally). code...
Another thing i want to ask is, if i have more scripts to run at startup, what should i do becoz there is limited terminal that i can use.
Someone told me that i can:
1)-put the script in /etc/init.d such that i can add it with chkconfig and run as service (not sure how to do this in details also)
2)-add a script in /etc/rc.local (not sure how?write what script)
View 6 Replies
View Related
Mar 21, 2010
The default editor for *.sh *.cpp etc has changed to emacs once after the installation of emacs. How can I changed back to gedit?
View 3 Replies
View Related
Oct 14, 2010
I just upgraded to 10.10 (everything was working fine in 10.04). I have .jar files that in 10.04 would execute with OpenJDK. Now I get an error message, telling me that it is blocked:
"The file '[path]' is not marked as executable. If this was downloaded or copied from an untrusted source, it may be dangerous to run. For more details, read about the executable bit."
I try to set it as executable like it was before, and it's a no go. My checkmark takes then quickly disappears before my eyes.
View 5 Replies
View Related
Oct 29, 2010
So I have Python file :
Code:
#!/usr/bin/env python
print 'python'
raw_input('')
And another :
[Code]....
as it should. I don't want to take such a hassle always running python by path.
View 4 Replies
View Related
Mar 3, 2011
is there a way to directly open the executable text files in ubuntu without that annoying msgbox asking us to display or run in terminal mode...
View 1 Replies
View Related
Apr 20, 2011
you can make a file that runs the contents as if typed out by the user in command prompt by saving the file as either .bat or .cmd . When using BASH in ubuntu, is it possible to save terminal executable files (from a text editor, like GEDIT), What file ending does it take, can i lay it out with just commands? (what is the syntax)
View 3 Replies
View Related
Jul 23, 2011
In Xubuntu, I can't seem to mark files as executable. I go into the properties, but there is no option to do this. Is there a way to mark .exe and .jar files as executable in XFCE?
View 4 Replies
View Related
Aug 11, 2011
I have downloaded Unetbootin for linux. When I double clicked on it, it says, no application to open executable files.What application can open executable files?
View 3 Replies
View Related
Mar 29, 2011
I've always been able to run my shell scripts and other executable files using dot slash, ie: ./runfile.shAfter doing a fresh 11.4 install, I cannot run my scripts. Even if I 'source' the file, it won't run. Why?This is an example of the files that will no longer run. Permissions look normal to me, but there is an * at the end of the filename. I think that just means it's executable, but I've never seen it on my systems before.
Code:
-rwxrwxr-- 1 udaman users 25989559 Feb 4 2010 GoogleEarthLinux.bin*
-rwxrwxr-- 1 udaman users 42905128 Aug 28 2010 NVIDIA-Linux-x86_64-256.53.run*
[code]...
View 9 Replies
View Related
Oct 20, 2010
I have a Nvidia driver that i need to run from the console.How do i do it and how do i find the file (to run it) from the console
View 14 Replies
View Related
Apr 25, 2010
I just encounter a problem after installing slackware 13, that I can not run someexecutable files as easily as before in 12.2.Here is an example:
hwang@hwang:~$ ls -l
total 36
drwxr-xr-x 2 hwang users 4096 2010-04-24 23:32 Downloads/
[code]...
View 8 Replies
View Related