DEV Community

Linux Commands for Developers

Puru on August 28, 2020

Promotion: Organize your Gmail labels as tabs tuladhar / gmail-labels-as-tabs ...
Collapse
 
kevinschweikert profile image
Kevin Schweikert

Instead of ifconfig -a it's better to use the newer command ip a

Collapse
 
ptuladhar3 profile image
Puru

That's right Kevin. I've updated with ip command. Thanks!

Collapse
 
peter279k profile image
peter279k • Edited

ifconfig command is too old and it should use ip address command instead.

Collapse
 
pahosler profile image
pahosler

ip is useful, but ifconfig is much more readable not to mention after decades of use I tend to use it reflexively.

Collapse
 
cocoonkid profile image
cocoonkid

same here but ifconfig does omit certain informations that ip shows you. I force myself to switch too :-)

Collapse
 
peter279k profile image
peter279k

Just notice that the nmcli command can be added on Networking section.

It can use this to check current network connection, modify network connection information, activate/inactivate specific network connection info and so on :).

Collapse
 
walkingwithcode profile image
Ian

A great list! I've started using Docker for projects recently, and this will come in handy.

I've spotted a small typo though:


Remove a package named htop

$ apt remove less

Collapse
 
ptuladhar3 profile image
Puru

Thanks Ian. Typo fixed 😊

Collapse
 
suckup_de profile image
Lars Moelleken


strace -s 2048 -p <PID>

or

strace -s 2048 <command>

is also very helpful sometimes ;)

Collapse
 
omarkhatib profile image
Omar

Nice bro , you got them all in one place.

Collapse
 
ardianta profile image
Dian

Thank you, it very useful for newbies