Does the script file have executable permissions?
To me, .sh means use the Bourne shell
Yes - both are files. ~ represents your home directory, so for you, the files should probably be put in the /home/normt/Desktop directory (may be different with Ubuntu).Norm Radder wrote:Is this a file: xterm.desktop that is on the desktop?
I used the vim editor, but any editor could be used.Norm Radder wrote:How was that file created?
Script files don't need an extension, the fist line, with the #!(shebang) specifies the shell/interpreter to use.Norm Radder wrote:I assume the script file being executed does not have an extension.
I am running Oracle 8, and the bash shell is located in the /usr/bin directory. Ubuntu may be different.Norm Radder wrote:I see that its first line has: /usr/bin/bash vs /bin/bash in my script file???
The computer I am using uses Nautilus (the default for Gnome).Norm Radder wrote:I have two file managers: nautilus and nemo ...
Yes, but I don't really have enough knowledge/experience to help much more - sorry. I rarely use a graphical desktop, and I typically use Redhat/Oracle/Centos Linux (I do use Ubuntu OS inside containers, but those are never graphical). Hopefully someone else that uses Ubuntu and Gnome as their everyday platform can help.Norm Radder wrote:I would like to execute the .sh file and not have to answer questions. Is that possible?
Don't get me started about those stupid light bulbs. |