Replies: 3 comments
-
Hi Gregory, There are lots of great videos introducing basic command line Linux on a Raspberry Pi that should be able to help you get started.
Now, if you just type a file name in Linux, the operating system will try to run it as a program or a script. Since this configuration file is neither, that’s why you get that error. If you wanted to edit that file, you would need to use an editor such as However, I don’t recommend you directly edit this file. Instead, you should use the configuration script that I have written. The configuration scripts assume you are in the home directory, so always type a
You can also use this script to see the current configuration of your CubeSatSim by typing:
To see all the possible configuration options, type:
Good luck! Alan |
Beta Was this translation helpful? Give feedback.
-
Thank you, I was able to get it to work. However, the instructions in the Wiki said type: cd. Next type in CubeSatSim/config. When I typed However, when I typed: cd, next I typed I found the book "The Complete Reference, Linux, Sixth Edition, by Richard Petersen. I will look for additional books. I also will visit You Tube to see what I can find. Thanks, Gregory |
Beta Was this translation helpful? Give feedback.
-
Hi Gregory, I don't know why you got a "bad command" or "command not found" error, maybe you did a typo or typed a period after the When you type something in the Linux shell then hit return, Linux looks for a command or executable or script that has that name. If none is found, you get the "command not found" error. If it is found, it is run, and whatever was typed after the command is passed to the application as parameters. So when you type My code parses the string for parameters and interprets "-h" as as the "help" option and prints out all the possible parameter settings. Any of them can be typed and the script will recognize them. If you type one such as "-z" which my code doesn't support, you will see this message: "Unknown option. Try config -h for a list of supported options." Many Linux commands use options set by a dash and a letter or a double dash and a word (e.g. "--help"). BTW, have you ever looked at this readme file? http://cubesatsim.org/download/cubesatsim-readme.pdf It has useful instructions and hints for using the Raspberry Pi code. Alan |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I still learning many things about Linux. I was able to connect my Raspberry Pi Zero to my WIFI and perform an update. However, I was not able to edit the file to edit my own Call Sign on it. What are the steps to edit the file "CubeSatSim/sim.cfg". I typed CubeSatSim/sim.cfg and I get a response of this is bad command.
Thanks
Gregory
Beta Was this translation helpful? Give feedback.
All reactions