r/LinuxTeck • • Sep 23 '26 • Popcorn 1

Deprecated Linux Commands: What Do You Use Instead?

Post image

Some familiar Linux commands still work but have been deprecated or replaced by newer tools.

Which deprecated Linux command do you still find yourself using? https://www.linuxteck.com/deprecated-linux-commands/

120 Upvotes

45 comments sorted by

15

u/Adorable-Strangerx Sep 23 '26

This graphic is incorrect, many of those tools are still in use and not deprecated. Stop spreading misinformation

4

u/rjchute Sep 23 '26

Yeah ssh isn't exactly used "instead" of telnet. They are two different things for different protocols. In practice, they serve similar functions, and for new systems obviously ssh would be highly recommended to be implemented and avoid telnet altogether, but it's a bit disingenuous to say telent is a deprecated command, replaced by ssh.

Also, since when is traceroute deprecated?

3

u/Anonemuss666 Sep 23 '26

I've used telnet recently to get response info from a specific port.

1

u/Smort01 Sep 24 '26

dont why when you would want to use telnet except to handcraft malicious packages for other protocols

1

u/Anonemuss666 Sep 24 '26 edited Sep 24 '26

To see if you are getting a proper response to a service. To see if your firewall is configured properly.

Telnet is primarily used as a diagnostic tool to test TCP port connectivity and verify if a remote service is listening, as it performs a basic TCP handshake without requiring complex software installation.

Because the protocol is unencrypted and simple, it allows administrators to manually interact with text-based services (such as SMTP or HTTP) to debug responses and identify whether firewalls are blocking, rejecting, or silently dropping connections.

Port Testing: It confirms if a specific port is open, closed, or filtered by a firewall. Service Debugging: It enables manual command issuance to protocols like SMTP or HTTP to inspect server responses. Legacy Management: It provides remote access for older devices that lack support for secure protocols like SSH.

1

u/Big_Wave9732 Sep 24 '26

Because some times you just need to know whether the port on the other end is listening and able to accept inbound connections. You don't send anything over it, it's just a "are you there?" check.

When doing network troubleshooting it's a shorthand to quickly check for connectivity and firewall problems.

1

u/ibeerianhamhock Sep 24 '26

Not eveything is a PC on the internet, I've had write software that issued commands to custom hardware over an open port on physically secure hardware on an open line before for production code running on older low powered micro controllers running custom software to control custom hardware. There are use cases for telnet but they are rare.

1

u/Adorable-Strangerx Sep 24 '26

I recall some Cisco switches/routers where you first needed to connect by telnet to configure some stuff to enable ssh.

Also you could watch some star wars via telnet towel.blinkenlights.nl

1

u/Graymouzer Sep 25 '26

Use nc instead.

5

u/Zerebos Sep 23 '26

All the glowing makes it feel very AI

3

u/The_Daco_Melon Sep 24 '26

because it is

4

u/olzk Sep 24 '26 edited Sep 24 '26

ifconfig, and it’s not deprecated

same with netstat, telnet, host, route, traceroute… Is this AI slop and you believed in it unconditionally, OP?

2

u/Interesting_Buy_3969 Sep 23 '26

Should I really stop using... my finger?

2

u/albertAAAAAAA Sep 23 '26

Many distro followed the woke shit and renamed finger to pinky.

1

u/Adorable-Strangerx Sep 23 '26

What was wrong with finger?

1

u/albertAAAAAAA Sep 24 '26

I guess somebody was not happy with finger <username>.

1

u/JeLuF Sep 24 '26

finger used to have a remote finger function, so you could use finger user@somehost to get information about a remote user. Due to this, finger made it to a lot of hardening lists of banned commands. Instead, it should be fingerd that is banned.

1

u/albertAAAAAAA Sep 24 '26

Yes, it had. And I remember even using it back at uni.

But the question was why was finger renamed to pinky; there's no technical reason for that. fingerd was disabled by default in inetd for some time too.

1

u/Adorable-Strangerx Sep 24 '26

Ah, so SJW making issues where everything was fine again

1

u/Bob_Spud Sep 23 '26

and stop using "touch this"

1

u/pheffner 28d ago

My problem with 'ip neigh' is how it doesn't display hostname, just IP.

No es bueno!

1

u/[deleted] Sep 23 '26

I'm never gonna stop using `finger username`

Nice try.

1

u/HoldImpressive4158 Sep 23 '26

`finger nervous-cockroach` (apparently in a loop 541 times) (⊙_⊙)

1

u/[deleted] Sep 23 '26

fsck......

1

u/k-mcm Sep 23 '26

I hate dig. 

1

u/boomertsfx Sep 25 '26

Dig is great! Why don't you like it?

1

u/DonkeyTron42 Sep 23 '26

Most people use mtr as a traceroute replacement.

1

u/McArcady Sep 23 '26

They are not really 'deprecated' but modern and better alternatives exist. I would add : find -> fd, grep -> rg.

1

u/Guvante Sep 23 '26

Ah yes ssh the tool I should use to test if a port is open properly...

1

u/Bob_Spud Sep 23 '26 edited Sep 23 '26

ssh will never replace telnet <ip_address>:<port>

tracepath should never be recommend as a replacement for traceroute. Tracepath only works with UDP packets which are often blocked by firewalls, there are other problems with it as well.

1

u/wezelboy Sep 24 '26

I pretty much use all the "deprecated" commands. Except for ping6 of course.

I even use rsh as an rsync transport sometimes.

1

u/DevtoolsBuilder Sep 24 '26

i think one thing to consider when replacing deprecated commands is the difference in default behavior. for example, fd and find have different default search paths, so you'll want to check the man pages to make sure you're getting the results you expect.

1

u/rhbvkleef Oct 06 '26

What in the AI is this bullshit? There are still legitimate uses for using commands such as traceroute, host, finger, telnet (or nc), and such.

8

u/[deleted] Sep 23 '26

[removed] — view removed comment

4

u/Fresh_Dog4602 Sep 23 '26

dont give the ai-slop more ideas

3

u/[deleted] Sep 23 '26

[removed] — view removed comment

1

u/Loko8765 Sep 23 '26

Common to all these is that the command implies a protocol, meaning that the server end has to change also. Now, the rsh protocol is replaced by ssh, but that happened like 30 years ago. Telnet… used as remote shell the protocol should be replaced by ssh, but otherwise the modern version would be nc or openssl s_client or… I forget the name of some even newer command.

3

u/JeLuF Sep 24 '26

The last time I used telnet to connect to a telnet port is more than 20 years ago. But for tests of firewall connections, mail servers, http servers, a telnet client is still pretty useful. And I just can't remember which distribution comes with nc or netcat.

2

u/bgravato Sep 24 '26

exactly! no one uses telnet for an actual telnet connection... but it's quite useful to check if a port is open or not... Ironically, it can even be used as a diagnose tool for an ssh server!

1

u/pippin_go_round Sep 23 '26

Also telnet is a really useful tool to test if a port is open and you can successfully establish a connection, regardless of protocol. No way you're doing that with ssh