LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-03-2009, 02:30 PM   #1
L Jay
LQ Newbie
 
Registered: Feb 2004
Location: Louisisana
Distribution: Debian/Gnu/Linux
Posts: 1

Rep: Reputation: 0
Linux command line


I want to learn Command line Linux. I bought a tutorial book "Linux Command Line" to study. The introduction says it is for Ubuntu and Centos. I need to know if there is a difference in C.L. from distro to distro. I use Debian and don't want to waste time on something else. Thank you. L Jay
 
Old 06-03-2009, 02:32 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by L Jay View Post
I want to learn Command line Linux. I bought a tutorial book "Linux Command Line" to study. The introduction says it is for Ubuntu and Centos. I need to know if there is a difference in C.L. from distro to distro. I use Debian and don't want to waste time on something else. Thank you. L Jay
In most cases ubuntu is going to conform to debian as far as commands go since it's based off debian. There will probably be an exception or two, but for the most part you shouldn't have problems.

Command line system changes system to system less than GUI does.
 
Old 06-03-2009, 02:38 PM   #3
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
Quote:
Originally Posted by L Jay View Post
I want to learn Command line Linux. I bought a tutorial book "Linux Command Line" to study. The introduction says it is for Ubuntu and Centos. I need to know if there is a difference in C.L. from distro to distro. I use Debian and don't want to waste time on something else. Thank you. L Jay
I don't think there's a difference. The commandline interpreters, bash, sh, csh and others are the same in all distros.
 
Old 06-03-2009, 02:55 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by L Jay View Post
I want to learn Command line Linux. I bought a tutorial book "Linux Command Line" to study. The introduction says it is for Ubuntu and Centos. I need to know if there is a difference in C.L. from distro to distro. I use Debian and don't want to waste time on something else. Thank you. L Jay
It really depends on the area you study.

The shells will be the same, and you can use whatever shell you want in whatever distro you want. So, if you learn bash scripting, it will be the same no matter which distro do you use.

The available tools can vary slightly, but the standard set of gnu tools should be always available in one or another form. So, as long as you don't rely on a feature that is specific of the distro you will also be fine.

Most administrative tasks will also be the same. However, there's an exception. When dealing with runlevels, configuration files, init scripts and a few other things then each distro has "its own book"

As user level you usually don't need to care about the distro unless you are doing a very specialized thing.
 
Old 06-03-2009, 08:46 PM   #5
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 958

Rep: Reputation: 35
onlyt real differnace that i can think of is that ubuntu dousent allow you to use root, and enables sudo by defaut.

I dont think that debian does this, so where you see sudo just replace with su -c
 
Old 06-03-2009, 08:57 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
For learning, see my answer here: http://www.linuxquestions.org/questi...ipting-730477/

As above, at the programming level there's usually next to no difference, the shell is the key thing.
At the admin level, some stuff can vary.
 
Old 06-04-2009, 01:06 AM   #7
noctilucent
Member
 
Registered: Jun 2009
Distribution: slackware
Posts: 123

Rep: Reputation: 25
Note that discrepancies regarding versions of coreutils [and such] might be the cause of some vexation - keep your manpages close.

Quote:
Originally Posted by dasy2k1 View Post
onlyt real differnace that i can think of is that ubuntu dousent allow you to use root, and enables sudo by defaut.

I dont think that debian does this, so where you see sudo just replace with su -c
It is only natural that Ubuntu does allow you to use the root user. IIRC the 'new' Debian installer gives you the option to use 'sudo' by default [rather than directly using the root account]. My not so humble opinion follows: if one does not have a good understanding of tools such as "su", "sudo" or of concepts such as "root" and "super user priviledges".. perhaps one should not be using aforementioned tools in the first place.

Last edited by noctilucent; 06-04-2009 at 01:07 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Linux Command Shell For Beginners: Fear Not The Command Line! LXer Syndicated Linux News 0 12-22-2008 07:30 PM
xine command line? or some other command line only engine? lumix Linux - Software 2 08-10-2007 11:46 AM
I want to use command line with Linux ywergs Fedora 7 10-01-2005 10:56 PM
Command Line On Linux??? unwrittenlaw Linux - Newbie 7 11-25-2003 01:59 AM
Command Line Linux Fusion07 Linux - Newbie 6 07-03-2002 01:47 AM


All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration