PDA

View Full Version : Bash scripting, so proud



boyo1991
May 12th, 2014, 07:45 PM
So, I've been programming for years, but for whatever reason, I refused to learn bash scripting (mainly a windows kid for many years..)

I just finished writing my first script, more as a test.. its a netflix installer! yes, its only needing to be 3 lines.. But if ubuntu means humanness, some new people who dont want to even touch that stuff could use this.

I'm pretty excited, even though I feel like a script kiddie playin around on ms-dos again lol.

pqwoerituytrueiwoq
May 12th, 2014, 07:47 PM
you will be surprised how much easier it is write bash than batch when you want to do something fancy

boyo1991
May 12th, 2014, 07:49 PM
oh I've already noticed lol. Maybe not something fancy, but noticing functions and if statements, variables ect. all sooooooo much easier.

slooksterpsv
May 12th, 2014, 08:05 PM
It is fun! Bash is very useful, I made a script for when I'd reformat my old gateway to fix sound issues, install video drivers, optimize flash, etc. And as versions changed, tweaked it to where I could choose what to fix in case not all the fixes applied. Enjoy, learn, keep learning, the best thing in life to do is ask questions, experience, learn and fail. If you don't fail how will you learn? =D

Erik1984
May 12th, 2014, 08:31 PM
Congrats. Yes bash is fun. It gives a weird sense of freedom to be working on your personal scripts.