I have a bash script file that runs my programme. I usually execute most of my application in kde by pressing alt+f2 and typing the game of the application. What should i do to this bash file in order to be typed properly?
Also i would like to be able to configure the network interfaces without having to user the root account. I was wondering if there is some prebuilt group so the only thing i have gto do is to add my user in to this group
I’m not sure that I fully understand your question. You have a bash script which will launch your application?
It should have a bang line like this (1st line):
#!/bin/bash
Install it at /usr/local/bin (for use by everyone) or at /home/youruser/bin just for yourself. In the first case user and group should be root.root, in the 2nd case it’s youruser.users.
Make it executable for everyone (chmod +x script.sh) or just for yourself (chmod u+x script.sh).
I always have at least one terminal open (using ‘Konsole’ with KDE) and launch from there. Or you do it with ALT+F2.
Check that /home/youruser/bin is in your path if you put the script there.
Your second question: configuration of network interfaces must be done as root. Do you use traditional method with ifup or networkmanager?