How to run applications and configure wireless interfaces

Hey… I have two questions…

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?

  1. It should have a bang line like this (1st line):
#!/bin/bash
  1. 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.

  2. Make it executable for everyone (chmod +x script.sh) or just for yourself (chmod u+x script.sh).

  3. I always have at least one terminal open (using ‘Konsole’ with KDE) and launch from there. Or you do it with ALT+F2.

  4. 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?

Hi,

to make a file executable, from the terminal, type:

chmod +x *thefilename*

I’m not sure what you’re asking about the Network interfaces; Network Manager can be used by anyone, to connect to a wireless network.

And what should i do in the base that the bash script is already at /usr/local/myapp?