LinuxQuestions.org
Review your favorite Linux distribution.
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 11-04-2014, 11:10 AM   #1
A.Reid
LQ Newbie
 
Registered: Aug 2012
Location: Uk
Posts: 2

Rep: Reputation: Disabled
Post Command


Can someone tell me where I can download a full list of command for Linux as I am new to Linux but quite like it after loading it to my Rasberry PI.
 
Old 11-04-2014, 11:29 AM   #2
Andre.Smit
LQ Newbie
 
Registered: Nov 2013
Location: Bronkhortspruit
Distribution: SuSE - Kubuntu - OpenWRT
Posts: 22

Rep: Reputation: Disabled
www.tldp.org

start with "ls /usr/bin"

Also "man ls" or "man bash" , etc will give manual
 
1 members found this post helpful.
Old 11-04-2014, 11:45 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,687

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
BTW, "full list" is a misnomer.

Any file can be a command - it just has to be given permission to be executable.

A short name for a command in the shell is just a file name. The file is looked for buy going through each directory entry indicated in the PATH environment entry. If it isn't found, you normally get a "command not found" error message.

If you give the full path to the file, then that is used for the lookup (all it takes is a slash in the command name).
 
1 members found this post helpful.
Old 11-04-2014, 12:01 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Welcome to LQ!

Welcome to the RPi (I love mine).

Some good articles for newbies to linux and the RPi can be found at http://www.themagpi.com/

Otherwise, just "explore". I kept breaking linux in my early days, but I learned a lot that way, so keep backups. I found it useful to keep notes about why and how to set things up. It'll be useful when you have to do something again and you say "I did this before, but it was 5 months ago, now just what was that magic command?"

[EDIT] I forgot about apropos. Most useful. In a terminal type
Code:
apropos something
Eg
Code:
pi@rpi:~$ apropos directory
alphasort (3)        - scan a directory for matching entries
basename (1)         - strip directory and suffix from filenames
bf_compact (1)       - shell script to compact a bogofilter directory
bf_compact-bdb (1)   - shell script to compact a bogofilter directory
bf_copy (1)          - shell script to copy a bogofilter working directory
bf_copy-bdb (1)      - shell script to copy a bogofilter working directory
bf_tar (1)           - shell script to write a tar file of a bogofilter directory to stdout
bf_tar-bdb (1)       - shell script to write a tar file of a bogofilter directory to stdout
bindtextdomain (3)   - set directory containing message catalogs
chacl (1)            - change the access control list of a file or directory
chdir (2)            - change working directory
chroot (2)           - change root directory
       [SNIP]
ls (1)               - list directory contents
       [SNIP]
pi@rpi:~$
Then, if 'list directory contents' is what you are interested in you can do man ls to read the manual for ls

How to use man? man man of course
[/EDIT]

Above all, have fun.

Last edited by tredegar; 11-04-2014 at 12:20 PM.
 
1 members found this post helpful.
Old 11-04-2014, 12:10 PM   #5
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,687

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
Quote:
Originally Posted by tredegar View Post
Welcome to LQ!

Welcome to the RPi (I love mine).

Some good articles for newbies to linux and the RPi can be found at http://www.themagpi.com/

Otherwise, just "explore". I kept breaking linux in my early days, but I learned a lot that way, so keep backups. I found it useful to keep notes about why and how to set things up. It'll be useful when you have to do something again and you say "I did this before, but it was 5 months ago, now just what was that magic command?"

Above all, have fun.
It also helps to re-write those notes into a slightly more formal form (table of contents, even including indexs) so that you can find the procedures later (sometimes months later).

It also helps at work...

I got asked a question by the center director once... After taking a deep breath trying to figure out how to explain it to him, I went - "I don't remember right off. But I do have it in here" and showed the printed from of the notes (with the table of contents).

The response was "That was all I wanted to know.".

The advantage of rewiting the working notes is that it cements the "how" you did something in your mind, and allows you to think about alternatives that would resolve the problem faster.
 
1 members found this post helpful.
Old 11-04-2014, 12:28 PM   #6
A.Reid
LQ Newbie
 
Registered: Aug 2012
Location: Uk
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs up Thanks

Quote:
Originally Posted by Andre.Smit View Post
www.tldp.org

start with "ls /usr/bin"

Also "man ls" or "man bash" , etc will give manual
Thanks I find the site very interesting it was exactly what I wanted.
 
  


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
cygwin simple tar command fails when issues on command line deannad Linux - General 1 06-12-2013 10:22 AM
Command/Script required to send an email alert in case command will not respond rajaniyer123 Linux - General 1 05-19-2012 01:12 PM
Executing shell command from JSP file with command line arg from URL orcusomega Programming 2 01-13-2012 03:38 PM
Bash Command Line Editor, while typing run another command before executing current? gumaheru Linux - General 5 04-13-2010 11:21 AM
URGENT! Is there any command to get a history command lines and time in SUSE Linux.? igsoper Linux - Software 5 06-25-2009 02:14 AM


All times are GMT -5. The time now is 08:13 AM.

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