LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2008, 10:47 PM   #1
Bomo
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Rep: Reputation: 0
Unix Books


Hi,

I'm looking into bash sed and awk
which books could you recommend?


thanks
 
Old 08-28-2008, 12:39 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
The O'Reily series are good. They actually have a book on sed and awk all in one. http://www.bookpool.com/sm/1565922255
 
Old 08-28-2008, 01:03 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
If you install the source for gawk, you can use the "make pdf" or "make ps" target to generate the book "GAWK: Effective Awk Programming". It is an excellent book (360 pages). Don't bother doing the same with awk. It's documentation isn't nearly as good and the examples are arcane.

If you've never compiled a package before you may have to install the gcc compiler and other dependencies.
If you have, the simply entering "./configure && make pdf" will generate the book.
 
Old 08-28-2008, 01:18 AM   #4
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
I would go for jschiwal's suggestion. Also beware: there are many 'sed' and 'awk' "books" on the market which are simply dead tree versions of the man pages and in my opinion they are inferior to the man pages because they can't be electronically searched - the "books" are even too small to use as a doorstop.

Aside from just reading through the man pages and any examples which may be stored in /usr/share/doc/whatever, you may also find numerous examples and tutorials on the internet.
 
Old 08-28-2008, 03:35 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by jschiwal View Post
If you install the source for gawk, you can use the "make pdf" or "make ps" target to generate the book "GAWK: Effective Awk Programming".
Good tip. Anyway pdf and postscript versions of this book are available online.
 
Old 08-28-2008, 08:11 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
really good (free) tutorials---SED, AWK, and more:

http://www.grymoire.com/Unix/
 
Old 08-28-2008, 12:45 PM   #7
Bomo
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks everyone i guess i got a lot of reading to do
 
Old 08-28-2008, 12:51 PM   #8
Bomo
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Oh i forgot is there any way to run sed,bash,awk commands/scripts on windows like active perl?
 
Old 08-28-2008, 04:49 PM   #9
Fantasio
Member
 
Registered: Nov 2007
Location: Vinsobres - Drome - France
Distribution: SuSE Linux 11.3
Posts: 152

Rep: Reputation: 19
have a look on scribd.com ...
 
Old 08-28-2008, 04:57 PM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by Bomo View Post
Oh i forgot is there any way to run sed,bash,awk commands/scripts on windows like active perl?
Yes. Have a look at Cygwin:

http://www.cygwin.com/
 
Old 08-28-2008, 06:49 PM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
If you install Cygwin/X, you will not only be able to install sed, awk, perl, ruby, etal. But you will be able to ssh -X into your Linux box and run graphical programs remotely. It includes an X server for windows as well as a full console installation.
 
Old 08-28-2008, 11:52 PM   #12
Bomo
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks!
Again
 
Old 08-29-2008, 12:05 AM   #13
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Rep: Reputation: 49
If you are interested in Shell Scripting than get Ellie Quigley's Unix Shells By Example. I first got the second edition as a gift from a programmer instructor my first semester in the UNIX program at Texas State Technical College and then later I bought the third edition when I took a shell scripting class. Details practical use of gawk and awk plus a whole lot of other information useful for you.
 
Old 08-29-2008, 09:41 AM   #14
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Unix Power Tools was quite good when I saw it yeeears ago, maybe you could look for a copy online....?
 
Old 08-29-2008, 02:37 PM   #15
Bomo
LQ Newbie
 
Registered: Aug 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks guys will get them and if you got anymore to recommend don't be shy keep them coming
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Speaking UNIX Part 8: UNIX Processing LXer Syndicated Linux News 0 06-14-2008 05:51 AM
LXer: Speaking UNIX, Part 4: Setting and managing permissions on UNIX LXer Syndicated Linux News 0 10-21-2006 02:54 AM
free linux/unix books for newbies chongluo General 1 04-06-2004 03:32 PM
Why did you experienced users of Unix change to unix over Windows? Laptop2250 Linux - General 11 10-28-2003 12:51 PM
How to schedule unix script periodically from unix os level??? gopi_20us Programming 2 03-11-2002 07:45 AM


All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration