bash is a shell.
and a shell (there are several zsh, ch, csh, ash to name a few) is what interprets your typed comands and pass them down to the next level of operation.
by the way, what comands are they, this might make helping you easyer.
After booting I have to type in several commands to be executed as root. I'd like to make this a bit easier via script, but I don't know how![]()
By the way, what means shell, bash etc?
bash is a shell.
and a shell (there are several zsh, ch, csh, ash to name a few) is what interprets your typed comands and pass them down to the next level of operation.
by the way, what comands are they, this might make helping you easyer.
The comands are like
wlanctl-ng wlan0 lnxreq...
ifconfig wlan0 ...
route gw...
etc.
I put the lines in a file, name the ending .sh and mark it executable. When I try to run the script nothing happens. I have to copy the lines and paste them into the console, after switching to root.
By the way... How can I access another resource over the network?
The comands are like
wlanctl-ng wlan0 lnxreq...
ifconfig wlan0 ...
route gw...
etc.
I put the lines in a file, name the ending .sh and marked it executable. When I try to run the script nothing happens. I have to copy the lines and paste them into the console, after switching to root.
By the way... How can I access another resource over the network?
This was the best, and lightest tutorial I could find ( I even bookmarked for myself )
http://supportweb.cs.bham.ac.uk/docu...scripting.html
The 3rd paragraph under the topic "Shell Scripting" may have the answer you're looking for.
You need to specify the shell (interpreter) in the 1st line of the script.

1969 EAI TR-20 Analog Computer Programming PACE Philbrick Electronic Associates
$35.00
RARE VINTAGE Kontron 80 Psi Compact Microcomputer Computer Germany Early 1980s
$319.99
Vintage Donner Scientific Analog Computer Patch Cords Banana Plugs & Resistor
$75.00
VINTAGE 1970s SKIT Scientific Kit for Computer & Electronics SEALED INSIDE Rare
$249.00
Vintage 1970’s Analogic MP2110 10-Bit A/D Converter Computer Circuit Board
$24.99
1964 PHILBRICK ELECTRONIC ANALOG COMPUTING OP AMP CATALOG PRICE LIST DIRECTORY
$199.95
Deluxe Joystick Controller for Tandy 1000 / TRS-80 Computers Brand New
$54.99
 Apple Macintosh Plus M0001A Vintage Compact Mac LOT PARTS EXTRAS READ
$189.00
NOB VINTAGE Earthlink MailStation Standard 120 - Email Appliance
$29.99
Rare Vintage CH Product Mach III Analog Joystick for Apple Mac
$45.00