Time passes and things change. There is nothing eternal in this world, maybe except taxes 🙂 but just as people get older and are replaced by younger ones, so Linux commands also get older and are replaced by other “younger”, “more modern” .
In this article, we’ll look at a few commands that you’ve used a lot before, but you’ve probably forgotten about. People have the ability to forget very quickly and adapt to the new without thinking much about the past.
NUMBER 1
Let’s look at the first command. The ifconfig command, do you remember how many times you wrote it to see your address or how much traffic came in and out of your network card? Or did you write your dins correctly? And the mask? There have been countless times in which this command was written, but today there is a more modern one such as IP, just two letters … yes to check the IP address now we type “ip address” how boring, the ifconfig command was so much more fun but hey we have to be modern. By the way if today you want to use this command in Ubuntu for an example you have to install it by typing net-tools:
# How Install ifconfig in Ubuntu Linux?
sudo apt-get install net-tools
# How to use ifconfig command in Linux?
ifconfig
# Do you remember how to put down a interface ? ifconfig eth0 down? :) or up ? :)
Code language: PHP (php)

NUMBER 2
And do you remember the apt-get command? Probably not, now everyone writes just apt, apt install, apt remove. Yes, but it wasn’t like that at the time. Do you remember how many times we wrote apt-get install this or that again and again? Well, you may have already forgotten about your old friend the apt-get and now remembering it with a smile and how many letters you have saved to type on the keyboard 🙂 Let’s remember its syntax for fun:
# Old way to install apps in ubuntu with apt-get
sudo apt-get install mc
Code language: PHP (php)

NUMBER 3
Now let us remind you of the service command. Oops, you forgot her, didn’t you? Well we are not and now we have reminded you. So at the time, when we were young administrators, we all used this command for a lot of things, but mostly to restart clogged services. Nowadays we use the system command. So sad… but life goes on right?
# Show all services using service
service --status-all
Code language: PHP (php)

We hope that we have made you happy, we have reminded you of the commands from your childhood and we have put a huge smile on your faces. For our younger readers, the article is a way to go back in time and see how we older ones have worked. In any case, we hope you remember the article with a smile 🙂