r/Hacking_Tutorials • u/DCGMechanics • May 21 '21
Deprecated Linux Command and their Replacement Cheat Sheet.
17
May 21 '21
Watch me ip
Watch me neigh neigh
3
2
1
3
u/schmid_di May 21 '21
I think the replacement for "netstat" is not the right type for German Linux users lol
1
7
u/TimeVendor May 21 '21
Why change the command?
8
5
4
u/justin-8 May 21 '21
In the case of ifconfig, it was built around specific old concepts, like each network card has a single IP was the big one. A work around back in the day was creating virtual devices each with their own IP, but really, the same device had multiple IPS.
Changing the output format of ifconfig isnβt possible, since so many decades of scripts had been built around parsing the text output of it, so it was essentially set in stone.
IP commands added lots of new features, programmatic output modes so that the user space representation can be changed more easily, support for multiple addresses, proper ipv6 support and much more.
The other commands I donβt know for sure, but I would suspect something similar.
2
1
u/Racingteamsam May 21 '21
Thanks, for some reason ifconfig didn't work on my new system. Thanks for the cheatsheet
3
1
May 21 '21
Finally. A Linux cheatsheet with a command I don't already know about
I've never used or heard about ip but it looks interesting. I do like that it is more powerful and combines 3 commands into one, but the output does seem more complicated. It even took me a couple of minutes to even realize that ip uses CIDR notation rather that netmask: [value] in ifconfig. I kinda do wish ip would've separated the adapters output with a newline for better readability, but I might be saying that because I'm so used to ifconfig.
1
1
4
May 21 '21
[removed] β view removed comment
8
u/Shakespeare-Bot May 21 '21
Yond shall holp me, anon i'm studying kali linux :o)
I am a bot and I swapp'd some of thy words with Shakespeare words.
Commands:
!ShakespeareInsult,!fordo,!optout0
u/Python119 May 21 '21
Good bot
1
u/B0tRank May 21 '21
Thank you, Python119, for voting on Shakespeare-Bot.
This bot wants to find the best and worst bots on Reddit. You can view results here.
Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!
0
11
u/BAAM19 May 21 '21
I have always used ifconfig, is this something like new as in this month or something?
Or was it always like this and people still use ifconfig normally?
Also is it a different tool/function or is it the same just different command/naming?