Difference between Ubuntu and Debian command line use

13,984

Ubuntu is a Debian derivative and I haven't come across situations where a command exists both in Debian and Ubuntu but their accepted syntax is different.

Share:
13,984

Related videos on Youtube

Anon732
Author by

Anon732

Updated on September 18, 2022

Comments

  • Anon732
    Anon732 over 1 year

    Is there a difference between Ubuntu and Debian with regard to command line and terminal use?

    I'm talking about things like command syntax, options, etc..

    • Thomas Ward
      Thomas Ward about 11 years
      I'm not sure this question can be adequately answered here...
    • Eliah Kagan
      Eliah Kagan almost 10 years
      Ubuntu and Debian have the same system shell (dash provides sh) and the same default user shell (bash, like almost all GNU/Linux OSes). Most if not all commonly used command-line utilities work the same in Ubuntu and Debian, since Ubuntu is a Debian-derivative whose major differences with respect to everyday user experience (of an already installed system) mostly affect the graphical UI. I (or anyone) can answer saying that or an expanded version of it if this is reopened.
    • user2173353
      user2173353 over 4 years
      Well, right off the bat, one difference I spotted was that ubuntu's sudo is su in debian. And I think it works a bit differently too.
    • user2173353
      user2173353 over 4 years
      Then, now that I tried the shutdown command, it does not exist in debian! Not sure what these "so far I couldn't spot any difference" asnwers that appear in the answers are all about... There seem to be many differences! faqforge.com/linux/distributions/debian/…