LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-01-2002, 09:05 AM   #1
Quiz
LQ Newbie
 
Registered: May 2002
Posts: 5

Rep: Reputation: 0
Question command line?


can someone tell me where to get a command line cheat sheet for mandrake or does it come with mandrake cd when you purchase a box?

what's the difference between unix and linux? does redhat linux and mandrake linux have the same command line?

is command lines and source code the same thing?


thank you in advance if you can answer this questions..


If you teach a wiseman
he will get smarter
but If you teach a fool
he will get mad
 
Old 06-01-2002, 09:16 AM   #2
jblaven
Member
 
Registered: May 2002
Posts: 37

Rep: Reputation: 15
I am a newbie, but I think that all commands are the same when typed at the command line. Redhat and Mandrake should have the same command line commands, since both are Linux. The way I understand it is Redhat, Mandrake, SuSE, etc are all dist. of Linux, with a few changes. But I think the command line commands are the same since they are all Linux. I think this is right. Someone correct me if I am wrong.

If all command lines are the same, you might be able to find a cheat sheet online.

Last edited by jblaven; 06-01-2002 at 09:32 AM.
 
Old 06-01-2002, 09:39 AM   #3
jblaven
Member
 
Registered: May 2002
Posts: 37

Rep: Reputation: 15
Here is a link to a PDF file....

http://www.xminc.com/linux/linuxcheatsheet.pdf
 
Old 06-01-2002, 11:38 AM   #4
Noerr
Member
 
Registered: May 2002
Location: Dalec, HU
Distribution: Redhat 7.3
Posts: 696

Rep: Reputation: 30
there isn't any real cheat sheet.
but if you do
info
you will get interactive help with all utils sorted by categories. So that should give you some idea

btw, most of utils are the same in linux, bsd, unix, solaris
there are even many of them in nt
like ifconfig => ipconfig
netstat, file utils ..
 
Old 06-01-2002, 01:19 PM   #5
tha_newbfather
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 8.1
Posts: 16

Rep: Reputation: 0
This calls for a Google search!

here are some of the results (and they all look like helpful!):

http://hotwired.lycos.com/webmonkey/...ce/unix_guide/

www.washington.edu/computing/unix/unixqr.html

http://www.tcs.auckland.ac.nz/~jacky...heatsheet.html

http://www.geek-girl.com/unix.html -- provides a whole set of good stuff on *nix systems, programming, and on and on.

And there are many more besides. Always a good idea to invest in a good reference book, keep it handy by your box or thumb through it on the throne.

Cheers,
tha newbfather
 
Old 06-01-2002, 03:41 PM   #6
alinas
Member
 
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60

Rep: Reputation: 20
All answers above are true, just a quick comment to keep things in perspective. Linux has originated from Unix, hence most of user command line utilities are identical across all Unix *AND* Linux versions. Differences lie in the administration and front end GUIs (Graphical User Interfaces).
As for command line vs. source code, these are two completeley different beasts. Command line is used to enter interactive commands, whereas source code is a file containing program listings (as typed by a programmer), before such program was compiled into an executable file. What you type at the command line may be an executable, but it may also be a script (file containing other commands).

Hope this helps,
alina
 
Old 06-01-2002, 04:18 PM   #7
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Just a note about the commands. In Linux (and other Unices) the user can specify wich shell (command line to use). The most widely used and most popular is bash (Bourne again shell) but some users prefer differents shells such as csh, korn, etc...
By default you always have bash, and most Unices use bash by default.
If im confusing you then just ignore this
-NSKL
 
Old 06-02-2002, 04:20 AM   #8
alinas
Member
 
Registered: Apr 2002
Location: UK, Sywell, EGBK
Distribution: RHEL, SuSE, CentOS, Debian, Ubuntu
Posts: 60

Rep: Reputation: 20
Just one correction, on Unix you have sh (bourne shell), ksh (Korn shell) and csh. These days ksh is the default - not bash.
bash may be added, being open source, but is not a default.
Most Unix shell scripts used sh historically, slowly now moving to ksh
 
Old 06-02-2002, 05:30 AM   #9
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
Ok! thanks!
 
Old 06-02-2002, 05:47 AM   #10
MobyTurbo
Member
 
Registered: May 2002
Location: Brooklyn, NY
Distribution: Slackware
Posts: 45

Rep: Reputation: 15
You might want to get a book on Linux to help. O'Reilly's "Running Linux" is good though parts are somewhat out of date; so when it talks about configuration later on in the book make sure it is valid.

I see that you're new to programming. Some books or online resources on programming would be good. Tutorials on Python would be helpful; Python seems to be a good beginner's language and is even useful for real-world stuff too. (I like some other languages better but they wouldn't be a good first language.)

Last edited by MobyTurbo; 06-02-2002 at 05:52 AM.
 
Old 06-02-2002, 08:09 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
www.linuxnewbie.org actually has a **cheat sheet** I have it taped to my monitor at home. It's great. Here is the actual link.
 
Old 06-02-2002, 08:14 AM   #12
NGene
Member
 
Registered: Mar 2001
Location: Turku, Finland
Distribution: Ubuntu
Posts: 66

Rep: Reputation: 16
Quote:
Originally posted by alinas
Just one correction, on Unix you have sh (bourne shell), ksh (Korn shell) and csh. These days ksh is the default - not bash.
I trust you on this because I haven't used Unix myself... but if I've understood correctly, on most *Linux* distros bash is the default.

The biggest cause of confusion is that although Linux is a Unix-like OS, it's not Unix.
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 10:48 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 12:24 AM


All times are GMT -5. The time now is 04:29 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