Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yes, the link you posted is the same one. What is a bash script? I appreciate all of the help you guys are giving me. I was trying to find a replacement for Fitness Assistant which is a M$ program.
Working at the cmd line, you need to understand how it works ; try this tutorial http://rute.2038bug.com/index.html.gz.
Note that when you type into a cli, you are talking to a 'shell'; there are many types of shell, but on Linux the usual default is 'bash'.
(bash is basically a programming lang)
Check by running
Code:
echo $SHELL
& post the result.
A shell (bash) script is simply taking a sequence of shell cmds and putting them into a file, so that you can then invoke the file in one cmd, instead of running each cmd separately by hand.
See the tutorial linked above. If it helps, think of it as the equiv of DOS .bat files, except bash is much more powerful.
In your post #13, you refer to files downloaded, files plural. The site I linked to which you indicate is the same on had only one file and that was a bash script. In your post #14, you indicate this file is in /usr/local/ and is named openfitness. When I downloaded it, I got the single file below. Is this what you have?
Quote:
openfitness_unix_1_0_0.sh
If it is and it is in /usr/local, log in to a terminal as root user and make it executable. Owner:group for /usr/local is root:root which is why you would need to log in as root.
At the root prompt type: cd /usr/local/
Next as root type: chmod 755 openfitness_unix_1_0_0.sh - or whatever the actual name of the file is.
This will make it executable for all. You could also move it to your /home/user directory.
Yancek, that's not the problem.I have already made the file executable and have successfully installed it to my hard drive. When I start the program,that's when it shows me the warnings that I have previously described
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.