Cool Linux command you probably never heard of

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@themarkymark·
0.000 HBD
Cool Linux command you probably never heard of
![image.png](https://ipfs.busy.org/ipfs/QmdQs6iWCDGLrQyx7okaqRQ2qRyJWskZvTYFAspcS9KYmd)

**Five cool Linux command-line utilities you probably never heard of**.

All these tools can easily be installed via your native package manager 
(typically `apt install xxxx`).

# Axel

Almost every Linux Admin knows about **wget**.  Have you heard of **axel** though?

Axel works just like wget but uses download segmenting to dramatically speed up large file downloads.  Axel can also auto-resume your download if stops before it are complete and you need to restart it.

https://i.imgur.com/dfugs0G.png
https://i.imgur.com/BWNlEl1.png

# ncdu

**ncdu** is a really useful but not very well known utility to interactively identify where the space on your file system is being used.  On Windows there is a tool called WinDirStat, this is pretty much the same thing but for Linux command-line.

You can move around your file system and view the largest files in any directory interactively.

https://i.imgur.com/q8sqn3M.png

Need to find out what is using up all your disk space, this is far more powerful than **du**.

# tcptrack
 
**tcptrack** is a really cool utility for monitoring active network connections in real-time.  While similar to **netstat** this will give bandwidth usage and is updated in real-time.

![image.png](https://ipfs.busy.org/ipfs/QmRfD83rnPT57sjSEL1nSDc3ZJCAwZEz4dmEeiE4toYD2A)
<sub>[source](https://linoxide.com/monitoring-2/network-monitoring-tools-linux/)</sub>

# shellcheck

Think of **shellcheck** as linting for sh scripts.  Shellcheck will scan a sh script and let you know where you can improve your scripts and find errors.

![image.png](https://ipfs.busy.org/ipfs/QmXZpb12QyXSBmTcPUmbjcvq2FXiF2aKYTxg9PPFymwCry)
<sub>[Source](https://github.com/koalaman/shellcheck)</sub>

# nethogs

While **nethogs** is very similar to **tcptrack**, instead of giving you just ip/port information it will actually tell you what processes and scripts are using up bandwidth.  This can be extremely helpful in troubleshooting a problem.

![image.png](https://ipfs.busy.org/ipfs/QmPBdmFTCM4ajetprRg4iCJMQM8n67uMCTqcwn7LLnC3Qt)
<sub>[Source](https://unix.stackexchange.com/questions/91055/how-to-tell-if-mysterious-programs-in-nethogs-listing-are-malware)</sub>
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,