[Chester LUG] Some cool commands you may not have known about

Thomas Prophett thomas at thomasprophett.co.uk
Mon Mar 1 08:29:48 UTC 2010


I've just seen and tried mtr works very well. Thanks!

On 28 February 2010 22:41, Stuart Burns <stuart.james.burns at gmail.com>wrote:

> Hiya everyone,
>
> I just thought i'd drop a quick email to let you know about some awesome
> commands I picked up on my RH course.
>
> Firstly lets start simple: mtr
>
> You've done traceroute and ping, but this is both in one tool, and on
> steroids. For example try mtr www.google.com. This is awesome as it shows
> firstly the route and also all your network choke points are, and how bad
> they are. Its in RH, Centos, Fedora and available for most distros.
>
> Secondly, watch.
>
> How often have you done a large cp command and waited, and waited.  If you
> do it, set up another console and do watch df -h. It will basically repeat
> df -h every two seconds, so you can see what is happening with disk space.
> Basically watch will allow you to automate a command! You can change the
> time interval.
>
> Thirdly screen.
>
> Rather than having loads of terminal windows open, use screen. It will
> allow you to run many consoles within one window. Shortcut keys allow you to
> move between the screens.
>
> Fouthly, partprobe
>
> You know when you create a new disk or partitions and you have to reboot,
> well this funky app, run after using fdisk, will re read all the new
> partitions and make them all available. Saves a reboot.
>
> Old command, new command.
>
> lsof is so old, use fuser. It does the same thing but is more useful ;)
>
> If I think of any others, I'll let you know!
>
> Regards
>
> Stuart
>
>
> _______________________________________________
> 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/db896c59/attachment.html>


More information about the Chester mailing list