This group covers a very large amount of different problems and sometimes a suggestion is made to write a script to do the required action. My question is: What are the resources the more experienced users use to help them write and debug their scripts? I know that typing 'Linux scripting' on Google will give me some results but I wondered if there were ones specific to SuSE or if all Linux scripts can be used across most distributions. -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
On Thursday 14 April 2005 12:46 pm, Hylton Conacher (ZR1HPC) wrote:
This group covers a very large amount of different problems and sometimes a suggestion is made to write a script to do the required action.
My question is: What are the resources the more experienced users use to help them write and debug their scripts? I know that typing 'Linux scripting' on Google will give me some results but I wondered if there were ones specific to SuSE or if all Linux scripts can be used across most distributions.
I found the Advanced Bash Scripting Guide very helpful http://www.tldp.org/LDP/abs/html/ But some of the best stuff is learned by checking out the various config scripts on your own system in the /etc directory. Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
The Sunday 2005-04-17 at 11:43 -0700, Scott Leighton wrote:
I found the Advanced Bash Scripting Guide very helpful http://www.tldp.org/LDP/abs/html/
We have it on the distro: /usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO.html -- Cheers, Carlos Robinson
On Sunday 17 April 2005 12:38 pm, Carlos E. R. wrote:
The Sunday 2005-04-17 at 11:43 -0700, Scott Leighton wrote:
I found the Advanced Bash Scripting Guide very helpful http://www.tldp.org/LDP/abs/html/
We have it on the distro:
/usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO.html
Humm, wonder why I can't seem to find it? /bin/ls: /usr/share/doc/howto/en/html/: No such file or directory Tried searching the DVD with Yast and didn't see any package that provides it (I used bash as the search term). Locate also came up with zip. Maybe your copy came from somewhere other than the distro? Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
On Sunday 17 April 2005 22:04, Scott Leighton wrote:
On Sunday 17 April 2005 12:38 pm, Carlos E. R. wrote:
The Sunday 2005-04-17 at 11:43 -0700, Scott Leighton wrote:
I found the Advanced Bash Scripting Guide very helpful http://www.tldp.org/LDP/abs/html/
We have it on the distro:
/usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO.html
Humm, wonder why I can't seem to find it?
/bin/ls: /usr/share/doc/howto/en/html/: No such file or directory
Tried searching the DVD with Yast and didn't see any package that provides it (I used bash as the search term).
The package is called hotoenh, it's in the noarch directory on the dvd
On Sunday 17 April 2005 3:11 pm, Anders Johansson wrote:
On Sunday 17 April 2005 22:10, Anders Johansson wrote:
The package is called hotoenh
Some day I'll learn to spell. That should have read 'howtoenh' hmmmm....... I was trying to visualize a Ho's Toe.......... hmmmm
PeterB -- -- Proud SUSE user since 5.2 Loving SUSE 9.2 My BLOG == http://vancampen.org/blog --
On Sun, 2005-04-17 at 22:11 +0200, Anders Johansson wrote:
On Sunday 17 April 2005 22:10, Anders Johansson wrote:
The package is called hotoenh
Some day I'll learn to spell. That should have read 'howtoenh'
Or use the spell checker. Most of my emails would be un-readable if I didn't use one. :-) -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Sunday 17 April 2005 1:10 pm, Anders Johansson wrote:
On Sunday 17 April 2005 22:04, Scott Leighton wrote:
The package is called hotoenh, it's in the noarch directory on the dvd
Today is not my day. I installed the package, and it stuck an index.html file in the location /usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO/ But that index.html is nothing more than a refresh to a different location, which doesn't exist on my system. <META HTTP-EQUIV=REFRESH CONTENT="0; URL=../../LDP/abs/html/"> Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.11.4-20a-default x86_64
The Sunday 2005-04-17 at 13:41 -0700, Scott Leighton wrote:
Today is not my day. I installed the package, and it stuck an index.html file in the location
/usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO/
But that index.html is nothing more than a refresh to a different location, which doesn't exist on my system.
<META HTTP-EQUIV=REFRESH CONTENT="0; URL=../../LDP/abs/html/">
Yea, you are right, I forgot. A bug of SuSE in 9.1, don't know if it got corrected later. There are two versions of the howto: /usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO.html /usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO/index.html Both are useless. :-/ The other two howtos are correct: /usr/share/doc/howto/en/txt/Bash-Prog-Intro-HOWTO.gz /usr/share/doc/howto/en/txt/Bash-Prompt-HOWTO.gz with their corresponding html versions. -- Cheers, Carlos Robinson
On Sun, 2005-04-17 at 13:04 -0700, Scott Leighton wrote:
On Sunday 17 April 2005 12:38 pm, Carlos E. R. wrote:
The Sunday 2005-04-17 at 11:43 -0700, Scott Leighton wrote:
I found the Advanced Bash Scripting Guide very helpful http://www.tldp.org/LDP/abs/html/
We have it on the distro:
/usr/share/doc/howto/en/html/Adv-Bash-Scr-HOWTO.html
Humm, wonder why I can't seem to find it?
/bin/ls: /usr/share/doc/howto/en/html/: No such file or directory
Tried searching the DVD with Yast and didn't see any package that provides it (I used bash as the search term).
If you also check the Description and Provides options it will also include rpms the contain any file with bash in it. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
participants (6)
-
Anders Johansson
-
Carlos E. R.
-
Hylton Conacher (ZR1HPC)
-
Ken Schneider
-
Peter B Van Campen
-
Scott Leighton