Centos vs Ubuntu - is there significant difference in the command line?

Bestwell

New member
Hi all,

I have been using Ubuntu for a year plus and recently have started my learning of linux server management.

I can see that the command lines used for both Ubuntu desktop and server version are the same.

How about Centos? I have read some server management articles and noticed the the command lines used for these two OS are slightly different, for executing the same task. Is that true?

What i know is Ubuntu is Debian based while Centos is RedHat.

Is the skill in Ubuntu transferable into using Centos?

Thank you in advance for all the advice and help.
 

Genesis

Administrator
Staff member
There are very slight differences between Ubuntu and CentOS. Fortunately these days all one has to do is Google a command. So it can't be that difficult to change. I'm not a great fan of Ubuntu though. As a freshly installed OS it seems to be performing OK, but as soon as you try to upgrade the OS it presents people with hickups as there is something up with how it effects the SSH files - it changes them, so one automatically gets locked out of the VPS. All you have to do is Google this, and there are hundreds of support discussions out there about this issue. So it is advisable never to attempt an upgrade of Ubuntu if you don't know what you're doing, and preferably to ask the host to do it for you.

But for commands, I think there isn't much of a difference - mostly SUDO in front of everything Ubuntu. And Yum for CentOS. I prefer Yum. :p
 

Drcool

New member
I would say that they are similar but different.
Both are very useful.
Concepts from one will apply to the other.