[Chester LUG] Some cool commands you may not have known about
Thomas Prophett
thomas at thomasprophett.co.uk
Mon Mar 1 10:45:52 UTC 2010
I use tail -f all the time, even better when you stick the result through
grep.
tail -f /var/log/maillog | grep "chester at mailman.lug.org.uk"
:-)
On 1 March 2010 10:36, Les Pritchard <les.pritchard at gmail.com> wrote:
> Some handy hints there. I also use tail -f /var/log/messages as a handy way
> to monitor the file (or any other for that matter).
>
>
> On 1 March 2010 09:55, Ben Arnold <iamseawolf at gmail.com> wrote:
>
>> On Sunday 28 February 2010 22:41:57 Stuart Burns wrote:
>>
>> > Firstly lets start simple: mtr
>> Oh stars, that's good! Cheers!
>> The mtr on Fedora needs to run under sudo though, or chmod 4755
>> /usr/sbin/mtr
>>
>> > Secondly, watch.
>> Yesterday I put watch df -h in to a script for exactly that reason!
>> xterm -e 'sudo watch -n 5 cat /var/log/messages'
>> is a good one :)
>>
>> Thanks!
>>
>> --
>>
>> Ben Arnold
>> Chester, UK
>>
>> e: iamseawolf at gmail.com
>> e: ben at seawolfsanctuary.com
>> w: seawolfsanctuary.com
>>
>> nom = { :cookies => :mouth }
>> nom; nom; nom
>>
>> _______________________________________________
>> Chester mailing list
>> Chester at mailman.lug.org.uk
>> https://mailman.lug.org.uk/mailman/listinfo/chester
>>
>>
>
> _______________________________________________
> Chester mailing list
> Chester at mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/chester
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/chester/attachments/20100301/8ca034e5/attachment.html>
More information about the Chester
mailing list