LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where do I go to get a list of the command prompt commands. (https://www.linuxquestions.org/questions/linux-newbie-8/where-do-i-go-to-get-a-list-of-the-command-prompt-commands-907994/)

dickcdavis 10-13-2011 01:09 PM

Where do I go to get a list of the command prompt commands.
 
I am new and would like to find out some of the commands used at the command prompt, like ls which is the only one I know at the time.

paulsm4 10-13-2011 01:15 PM

Hi -

There are many tutorials. Here are two links that might be helpful to you:

* Linux/Unix for DOS Users

* 8 Basic Ubuntu Commands for Beginners

knudfl 10-13-2011 01:25 PM

Rute User's Tutorial and Exposition

http://rute.2038bug.com/index.html.gz

§ 4. Basic commands http://rute.2038bug.com/node7.html.gz

dive 10-13-2011 01:31 PM

ls /bin
ls /usr/bin/
ls /sbin
ls /usr/sbin
ls /usr/local/bin

etc

then

man <command>

TobiSGD 10-13-2011 02:07 PM

For beginners I would recommend http://linuxcommand.org/index.php

theNbomr 10-13-2011 06:44 PM

Following tutorials that are oriented to solving basic real-world problems is a much better approach to learning than simply following lists of commands. Firstly, the list is very long. Secondly, it isn't really a good idea to randomly just try them, without some kind of expectation for what they do (and most of which do many different things depending on how you apply them). Thirdly, your approach is something akin to learning a language by reading a dictionary.
Once you've gone through a couple of tutorials, you'll gain a grasp of a few important concepts, and will have learned a number of the key tools that are commonly used. From there, you can leverage your knowledge to expand the sphere of what you can accomplish, and start solving real-world problems for yourself.
A good place to learn command-line programming and scripting is by following threads in the LQ programming forum. There, you will see a plethora of real-world problems solved in numerous ways, and often accompanied by explanatory text about how the solution works, and/or why it is good (or bad). There is an abundance of expertise available to explain things, even if it is in a thread not started by you.

--- rod.

David the H. 10-14-2011 09:15 AM

In bash, type the help keyword and you'll get a list of all built-in commands. Type help <command> and you'll get a short description of that command. Read the bash man page for more details.

In addition many of the common external commands like ls are provided by the coreutils package. info coreutils will give you a listing of them, and you can go on to browse the info manual for more detail, or call up the info or man page for each command separately.

Finally, the Advanced Bash Scripting Guide has a whole section on commonly-used commands here: http://www.tldp.org/LDP/abs/html/part4.html


Edit: I personally recommend this guide for learning the foundations of scripting. It covers all the basics and is easy-to-read.
http://mywiki.wooledge.org/BashGuide

onebuck 10-14-2011 09:23 AM

Hi,

Here is a list that I give to newbies for gaining some understanding;



1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Utimate Linux Newbie Guide

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!


All times are GMT -5. The time now is 06:48 PM.