Awk is phenomenal in that you can cat or grep a big log file and print just the columns you&#39;re interested in. It makes scanning logs with very long lines so much quicker. <div><br></div><div>I&#39;m just picking up python myself. It looks to be very handy for scripting.</div>
<div><br></div><div>Brian<br><br><div class="gmail_quote">On Tue, Mar 20, 2012 at 11:22 AM, James Sumners <span dir="ltr">&lt;<a href="mailto:james.sumners@gmail.com">james.sumners@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Bash scripting, or the preferred shell of the location, is definitely<br>
a must. But that also means being familiar with the tool set available<br>
to you when you are actively interacting with Bash. Tools that I use<br>
frequently (in no particular order):<br>
<br>
* `nc` (netcat): a must if you&#39;re working with network services<br>
* `awk`<br>
* `sed`<br>
* `grep`<br>
* `cut`<br>
* `sort`<br>
* `screen`: e.g. <a href="https://bitbucket.org/jsumners/scripts/src/tip/screen_daemon.sh" target="_blank">https://bitbucket.org/jsumners/scripts/src/tip/screen_daemon.sh</a><br>
* `ps`<br>
<br>
That&#39;s a shorter list than I thought it would be. But it is off the<br>
top of my head. Still, you can do a lot with just those.<br>
<br>
I&#39;d also recommend getting familiar with a scripting language that is<br>
a bit more robust than Bash. There are situations that I find are more<br>
easily handled with Python. I&#39;m no Python guru (I code by manual with<br>
Python), but it certainly makes some things easier.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, Mar 20, 2012 at 11:06, Jim Butler &lt;<a href="mailto:jimbutler1234567890@gmail.com">jimbutler1234567890@gmail.com</a>&gt; wrote:<br>
&gt; Hi..<br>
&gt; I have many years of experience with Linux, but I&#39;m finding out lately<br>
&gt; that apparently there is a good deal of mainstream knowledge that I&#39;ve<br>
&gt; missed somewhere. Most Linux System Admin positions require that you<br>
&gt; know how to script so you can automate processes, and set up monitoring,<br>
&gt; etc..<br>
&gt; Usually when I wanted to monitor a system, I set up Nagios for host<br>
&gt; monitoring, and then if I found a problem, I logged in manually to the<br>
&gt; host in questionn and used tools like top, vmstat, iftop, iostat, etc.<br>
&gt; for finding the cause of bottlenecks. But apparently when working on<br>
&gt; large deployments like where you have large clusters or other types of<br>
&gt; large setups, there need to be tools and/or scripts in place for<br>
&gt; monitoring. I need to learn this stuff! I&#39;m teaching myself BASH<br>
&gt; scripting now, and so I have that under way. Also I know about using<br>
&gt; MRTG and CACTI and the like, for monitoring network traffic on switches.<br>
&gt; So let me ask everything this:<br>
&gt; What &quot;monitoring tools&quot; or &quot;automation tools&quot; should a guy like me be<br>
&gt; learning to use, in order to be a good and marketable System<br>
&gt; Administrator? Where would you send a guy like me to learn the pieces he<br>
&gt; is missing? If you were in my shoes, what would you do to get up to<br>
&gt; speed most quickly? I&#39;m looking for wisdom and guidance from Linux<br>
&gt; System Admins who are, well, better than me and more experienced than me.<br>
&gt;<br>
&gt; Thank you in advance,<br>
&gt; Jim Butler<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Ale mailing list<br>
&gt; <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
&gt; <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
&gt; See JOBS, ANNOUNCE and SCHOOLS lists at<br>
&gt; <a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
James Sumners<br>
<a href="http://james.roomfullofmirrors.com/" target="_blank">http://james.roomfullofmirrors.com/</a><br>
<br>
&quot;All governments suffer a recurring problem: Power attracts<br>
pathological personalities. It is not that power corrupts but that it<br>
is magnetic to the corruptible. Such people have a tendency to become<br>
drunk on violence, a condition to which they are quickly addicted.&quot;<br>
<br>
Missionaria Protectiva, Text QIV (decto)<br>
CH:D 59<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><dt style="font-size:17px;color:rgb(69,69,69);font-family:&#39;Times New Roman&#39;,Times,serif;line-height:19px;background-color:rgb(255,255,255)">
The more laws and order are made prominent,<br>The more thieves and robbers there will be.</dt><dd style="font-size:15px;margin-top:8px;margin-right:10px;margin-bottom:10px;margin-left:4em;color:rgb(69,69,69);font-family:&#39;Times New Roman&#39;,Times,serif;line-height:19px;background-color:rgb(255,255,255)">
<b>Lao-tzu</b>, <i>The Way of Lao-tzu</i><br><i>Chinese philosopher (604 BC - 531 BC)</i></dd><br>
</div>