Thread: Compiling a bash file?
i don't know if goes here or not need script.
have cdma usb modem not recognized ubuntu.
use have eject first device manager.
open terminal , sudo modprobe , use wdial.
cut short of process made script
this eased work.code:#!/bin/sh sudo echo "usb modem" sudo eject /dev/sr0 sudo sleep 1 sudo modprobe usbserial vendor=0x22f4 product=0x0021 sudo sleep 1 sudo wvdial
looking way can compile code binary executing launch script in terminal.
guess ease cut short 2 clicks 1 , educational purpose
how do it?
ok scripting have use line @ top of file
#!/bin/bash
put commands in , when done have make executable.
commandline >chmod yourscriptfilename a+x
can run ./scriptfilename
enjoy
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Compiling a bash file?
Ubuntu
Comments
Post a Comment