Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


MirokuSporter

12 posts

Geek


#142484 14-Mar-2014 13:48
Send private message

Hi There,

I am searching for recommendations (or to find out if the even exist in NZ) on Linux Shell Scripting Courses. I found one in the UK which seems perfect:

http://courses.independent.co.uk/training/linux-shell-programming-92278

It's in the UK though...

I am not looking at admin-oriented courses, I am just interested in gaining more knowledge to add to what I have learned on the job, developing ETL which makes use of Shell Scripting in Linux (Using RedHat 2.6.32).

Thanks,
Chris

Create new topic
marpada
487 posts

Ultimate Geek
+1 received by user: 182


  #1005735 14-Mar-2014 16:37
Send private message

Unless you'll be writing very simple script I would strongly recommend you to learn Ruby or Python instead.



beaverusiv
49 posts

Geek
+1 received by user: 2


  #1013272 26-Mar-2014 16:23
Send private message

http://www.tldp.org/LDP/abs/html/
https://google-styleguide.googlecode.com/svn/trunk/shell.xml

If you need more help forums and Google searches can help. I don't think you need a full on course unless you don't think you have the motivation to follow the guide yourself at your own pace.

My best advice would be to have a goal in mind for a script and work through it. Previous ones I have made are; automating GUI tasks using xdotool, renaming all my video files using a different convention, parsing webpages with info like Wikipedia or IMDB.




-Nick


chevrolux
4962 posts

Uber Geek
+1 received by user: 2638
Inactive user


  #1013276 26-Mar-2014 16:33
Send private message

Install Ubuntu. Pick a project. Learn from the University of Google.

I am working on a little VoIP project at home to learn a bit of Python and for me it is the best way. Create a brief and work out how to make it happen.



MirokuSporter

12 posts

Geek


  #1013950 27-Mar-2014 15:45
Send private message

Thanks for the guidance guys. I really appreciate it. I will check out those links beaverusiv. Anyone else have any useful resources that they can recommend (not just random Google serached links :P)

beaverusiv
49 posts

Geek
+1 received by user: 2


  #1013955 27-Mar-2014 16:11
Send private message

Miroku those two links should be all you need except for specific times you get stuck.




-Nick


ObidiahSlope
260 posts

Ultimate Geek
+1 received by user: 66


  #1014991 29-Mar-2014 11:21
Send private message

Another useful resource ;

http://mywiki.wooledge.org/BashGuide

No longer current but an excellent primer is the book;

Unix Power Tools published by O'Reilly. You might find a copy in a second had bookstore

The bash irc(internet relay chat) channel is active and helpful.

Good luck in your quest to become a command line Ninja.







Obsequious hypocrite

 
 
 

Shop on-line at New World now for your groceries (affiliate link).
Alislack
5 posts

Wannabe Geek


  #1015261 30-Mar-2014 02:13
Send private message

From memory the alt.comp.lang.bash group is very active they also include a lot of sed and awk.

I just came across this website the other day I used to refer to it a lot. http://www.commandlinefu.com


Would advise you peruse the runlevel scripts in Redhats /etc/init.d directory they are well commented and give an idea on how bash variables are assigned, file timestamps checked and data written to other files in etc and the logs. As far as distros go Slackware init scripts are very straight forward to edit and makes good use of sed and awk, Debian init scripts are very complex as they have many soft links and plenty of long regex expressions. The idea is to see how the developers use grep, sed and awk tools to do the retrieval and writing of data that makes Unix/Linux so fast and robust.

Also if you find scripts easier to read with colorization you can turn it on in vi (or vim) by entering ':syntax on' at the bottom line , theres also 'mc -S gotar and the man 'most' pager can display in color'. Iirc Redhat does not install 'gpm' mouse copy/paste by default.

MirokuSporter

12 posts

Geek


  #1015823 31-Mar-2014 09:34
Send private message

Wow, thanks guys. This is all really helpful. Thanks heaps for the guidance, I appreciate it :)

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.