NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

eton's avatar
eton
Luminary
Jan 19, 2014

What are your favorite non standard commands?

What are your favorite non standard commands on your NAS? In other words what have you installed with apt-get etc?

Here are mine:

And then there are all these clones with improvments like egrep instead of grep etc, yes mmv is also one of them.

I have probably forgot some that I use just because I take them for granted. And there are others that I would like to use but I just can't find an apt-get repositorie or they just don't exist for my NAS's cpu's architecture (example bdiff, 2bsd-diff and cbm).

Some other usefull commands, mostly related to network troubleshooting. With credits to user kossboss.
  • iftop - example iftop -i eth0

  • cbm - Color Bandwidth Meter, I couldn't find it for Sparc

  • ethtool - example ethtool -i eth0

  • dstat - example dstat -ndyc

  • mc -Midnight Commander inspired by Norton commander

  • mtr - traceroute and ping, combined


And don't forget that you usually can brake a Linux command with ctrl + c.

Even more bandwidth monitoring tools for Linux:
http://www.dynacont.net/documentation/l ... onitoring/

4 Replies

Replies have been turned off for this discussion
  • aptitude
    vim
    I would use mail if I had configured it too. But I'll be trying to find what the NAS uses to send mails rather than having to install exim/postfix/sendmail along with mailutils.

    Most of the commands I use are standard.
  • Fdupes is a great tool for finding and removing duplicate files.

    Delete all dupes in a dir:
    fdupes -nfq . | while read i; do rm "$i" ; done
  • If you add large Debian repositories for apt-get in
    /etc/apt/sources.list

    You will most likely get an error message like this:
    E: Dynamic MMap ran out of room

    On my old system the solution was to create an apt conf file and set a larger cache value:
    echo -n 'APT::Cache-Limit "20000000";' > /etc/apt/apt.conf

    You might want to clean up before executing apt-get update:
    apt-get clean

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More