ally_uk wrote: » I have read the Sorbell Book which covers some of scripting, But it's pretty high level stuff and goes over my head, are there any basic tutorials that have a structured approach i.e create this first script and the next script we take it further and do this.
ally_uk wrote: » i'm feeling pretty disheartened at the moment because everything I have read starts off ok then just gets to a level where it's like wtf? lol
powmia wrote: » Don't skip it altogether. If you're working with unix/linux systems, it is a valuable skillset that can save you a ton of time. I'm just saying that if you're completely new to the concepts, it may not be the best to start with bash.
ally_uk wrote: » So in terms of using Python for Linux what kind of stuff can you do? i.e write scripts for administration?
ally_uk wrote: » lol I meant more along the lines of combing Python with rsync and commands i.e to create a backup script or something.
ally_uk wrote: » Such as awesome forum generates such interesting discussion. Although I now have a inner conflict part of me is saying stick with BASH the other is saying get some Python!! (Adam Sandler voice lol) In terms of Python since I have never touched it in my life what's the best starting point. How do you invoke a python script do I have to install or compile something? Any good books or resources. Unix guy thanks for the links I'm going to keep reading up on BASH it would be a silly move to drop it I enjoy using it but this python thing seems to be also interesting decisions decisions lol
ptilsen wrote: » Regex is probably easier in BASH than anything except maybe query languages. In general, the lower level you go, the more complex escape characters and such become, and the messier regex gets, at least in my fairly limited knowledge. I do not like regex in Java. I don't recall having issues with it in BASH, and I use it in PowerShell scripts and SCCM collection queries. At the end of the day, though, regex is not terribly complicated in any language I know of; it's just a matter of learning the syntax in that particular language.