create account

Cool Linux command you probably never heard of by themarkymark

View this thread on: hive.blogpeakd.comecency.com
· @themarkymark ·
$32.42
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>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 386 others
👎  , , , , ,
properties (23)
authorthemarkymark
permlinkcool-linux-command-you-probably-never-heard-of
categorylinux
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["linux","sysadmin","technology","palnet","neoxian","busy"],"users":[],"links":["https://linoxide.com/monitoring-2/network-monitoring-tools-linux/","https://github.com/koalaman/shellcheck","https://unix.stackexchange.com/questions/91055/how-to-tell-if-mysterious-programs-in-nethogs-listing-are-malware"],"image":["https://ipfs.busy.org/ipfs/QmdQs6iWCDGLrQyx7okaqRQ2qRyJWskZvTYFAspcS9KYmd","https://i.imgur.com/dfugs0G.png","https://i.imgur.com/BWNlEl1.png","https://i.imgur.com/q8sqn3M.png","https://ipfs.busy.org/ipfs/QmRfD83rnPT57sjSEL1nSDc3ZJCAwZEz4dmEeiE4toYD2A","https://ipfs.busy.org/ipfs/QmXZpb12QyXSBmTcPUmbjcvq2FXiF2aKYTxg9PPFymwCry","https://ipfs.busy.org/ipfs/QmPBdmFTCM4ajetprRg4iCJMQM8n67uMCTqcwn7LLnC3Qt"]}
created2019-10-02 11:41:36
last_update2019-10-02 11:41:36
depth0
children14
last_payout2019-10-09 11:41:36
cashout_time1969-12-31 23:59:59
total_payout_value17.330 HBD
curator_payout_value15.088 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,272
author_reputation1,780,027,591,232,079
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,154,429
net_rshares94,173,922,729,249
author_curate_reward""
vote details (456)
@anarcist69 ·
I LOVE `ncdu` I use it all the time on VPS cause they usually have very limit storage.

Also, check out `apt-get moo`
properties (22)
authoranarcist69
permlinkre-themarkymark-pzcrzt
categorylinux
json_metadata{"tags":["linux"],"app":"steempeak/1.17.1"}
created2019-10-14 07:11:57
last_update2019-10-14 07:11:57
depth1
children0
last_payout2019-10-21 07:11:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length117
author_reputation14,415,251,010,934
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,535,872
net_rshares0
@azfix ·
Cryptocurrency mining really got me into linux more than I was. Who wants to pay for windows licenses when you can do everything you need on Linux. Thanks for the tips
properties (22)
authorazfix
permlinkpysatt
categorylinux
json_metadata{"app":"steemit/0.1"}
created2019-10-03 05:49:06
last_update2019-10-03 05:49:06
depth1
children0
last_payout2019-10-10 05:49:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length167
author_reputation30,302,235,653,453
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id91,179,034
net_rshares0
@contrabourdon ·
Ewww `apt`. `yum` is my friend.
👍  
properties (23)
authorcontrabourdon
permlinkre-themarkymark-pyqwkr
categorylinux
json_metadata{"tags":["linux"],"app":"steempeak/1.17.1"}
created2019-10-02 11:43:42
last_update2019-10-02 11:43:42
depth1
children3
last_payout2019-10-09 11:43:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length31
author_reputation224,923,745,418,129
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,154,474
net_rshares93,994,961
author_curate_reward""
vote details (1)
@themarkymark ·
**yum** just means you run Redhat/Centos type of distribution.  **Apt** is for Debian based distribution.
👍  
properties (23)
authorthemarkymark
permlinkpyqwmt
categorylinux
json_metadata{"app":"steemit/0.1"}
created2019-10-02 11:44:54
last_update2019-10-02 11:44:54
depth2
children2
last_payout2019-10-09 11:44:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length105
author_reputation1,780,027,591,232,079
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,154,505
net_rshares93,565,080
author_curate_reward""
vote details (1)
@contrabourdon ·
Yep :) I use Redhat/Centos/Amazon Linux often.
👍  
properties (23)
authorcontrabourdon
permlinkre-themarkymark-pyqwte
categorylinux
json_metadata{"tags":["linux"],"app":"steempeak/1.17.1"}
created2019-10-02 11:48:54
last_update2019-10-02 11:48:54
depth3
children1
last_payout2019-10-09 11:48:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length46
author_reputation224,923,745,418,129
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,154,587
net_rshares93,136,489
author_curate_reward""
vote details (1)
@dang007 ·
500k steem?  I didnt know you have that much.
properties (22)
authordang007
permlinkpysce5
categorylinux
json_metadata{"app":"steemit/0.1"}
created2019-10-03 06:21:27
last_update2019-10-03 06:21:27
depth1
children1
last_payout2019-10-10 06:21:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length45
author_reputation11,401,014,276,268
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,179,756
net_rshares0
@themarkymark ·
Didn't think it mattered.
properties (22)
authorthemarkymark
permlinkpyv2jy
categorylinux
json_metadata{"app":"steemit/0.1"}
created2019-10-04 17:43:09
last_update2019-10-04 17:43:09
depth2
children0
last_payout2019-10-11 17:43:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length25
author_reputation1,780,027,591,232,079
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,228,765
net_rshares0
@gikitiki ·
Another cool post of tips.

<hr>

When I get time, I'll compare ncdu to old faithful (it gets written on the last page of every notebook I have)

\# Show the top 5 largest files in a directory.
du -a . | sort -n -r | head -n 5
👍  ,
properties (23)
authorgikitiki
permlinkpyr99o
categorylinux
json_metadata{"app":"steemit/0.1"}
created2019-10-02 16:17:48
last_update2019-10-02 16:17:48
depth1
children0
last_payout2019-10-09 16:17:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length226
author_reputation16,572,681,158,525
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,161,790
net_rshares18,334,924,411
author_curate_reward""
vote details (2)
@imwatsi ·
Glad to learn about `axel`. I've always wondered if we had a CLI "download manager" for Linux that segments files for speed. Just checked and Fedora distributes the package :)
👍  
properties (23)
authorimwatsi
permlinkpyr1lj
categorylinux
json_metadata{"app":"steemit/0.1"}
created2019-10-02 13:32:09
last_update2019-10-02 13:32:09
depth1
children0
last_payout2019-10-09 13:32:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length175
author_reputation131,386,362,730,495
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,157,096
net_rshares91,856,316
author_curate_reward""
vote details (1)
@jdevora ·
Great post 
properties (22)
authorjdevora
permlinkre-themarkymark-2019103t23154127z
categorylinux
json_metadata{"tags":["linux","sysadmin","technology","palnet","neoxian","busy"],"app":"esteem/2.0.0-mobile","format":"markdown+html","community":"esteem.app"}
created2019-10-03 22:15:06
last_update2019-10-03 22:15:06
depth1
children0
last_payout2019-10-10 22:15:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation3,906,251,220
root_title"Cool Linux command you probably never heard of"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,202,446
net_rshares0
@rishi556 ·
Remind me to read this again in 12 hours.
properties (22)
authorrishi556
permlinkre-themarkymark-2019103t24319564z
categorylinux
json_metadata{"tags":["linux","sysadmin","technology","palnet","neoxian","busy"],"app":"esteem/2.2.2-mobile","format":"markdown+html","community":"esteem.app"}
created2019-10-03 06:43:18
last_update2019-10-03 06:43:18
depth1
children0
last_payout2019-10-10 06:43:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length41
author_reputation133,722,167,715,025
root_title"Cool Linux command you probably never heard of"
beneficiaries
0.
accountesteemapp
weight300
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,180,114
net_rshares0
@sgt-dan ·
$0.02
Thank you for this info. I bounce back and forth from Windows and Linux. As I have an older laptop I use Linux on that machine (Ubuntu) and the machine my sister watches TV on when she visits is also Linux (Kubuntu).

I used Fedora for a bit, but prefer Debian based OS to the Redhat Package Manager OS types. Not an expert in either, but I get by. Just a hobby. 
👍  ,
properties (23)
authorsgt-dan
permlinkre-themarkymark-pyr0j0
categorylinux
json_metadata{"tags":["linux"],"app":"steempeak/1.17.1"}
created2019-10-02 13:09:03
last_update2019-10-02 13:09:03
depth1
children0
last_payout2019-10-09 13:09:03
cashout_time1969-12-31 23:59:59
total_payout_value0.011 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length363
author_reputation33,689,299,469,472
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,156,499
net_rshares122,403,520,953
author_curate_reward""
vote details (2)
@yuriks2000 ·
Wow! Super useful commands! Thanks 

Posted using [Partiko iOS](https://partiko.app/referral/yuriks2000)
properties (22)
authoryuriks2000
permlinkyuriks2000-re-themarkymark-cool-linux-command-you-probably-never-heard-of-20191002t144039761z
categorylinux
json_metadata{"app":"partiko","client":"ios"}
created2019-10-02 14:41:06
last_update2019-10-02 14:41:06
depth1
children0
last_payout2019-10-09 14:41:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length104
author_reputation46,298,584,514,779
root_title"Cool Linux command you probably never heard of"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id91,159,034
net_rshares0