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 10-06-2017, 01:35 AM   #1
MauiB
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Rep: Reputation: Disabled
Command list


I am very new to linux and read a lot of forums and reviews and decided to take a stab with Fedora. I want to make one of my office PC's a file server and is looking for a command list, it will be greatfully appreciated. I tried NDG free linux essentials course via Cisco NETACAD, but don't really have time to finish.
 
Old 10-06-2017, 01:40 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 16,604

Rep: Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604Reputation: 5604
it will be really hard if you have no time....
here you can find the list of commands, but I don't think is is usable: http://man7.org/linux/man-pages/dir_all_alphabetic.html
 
1 members found this post helpful.
Old 10-06-2017, 01:48 AM   #3
MauiB
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you pan64. I will go through and have a look
 
Old 10-06-2017, 01:49 AM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,861

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Command list is one thing, understanding how the system works is a good thing.

Quite a few sites on the web that offers command list on Linux.

Links:
https://www.tecmint.com/60-commands-...administrator/
https://files.fosswire.com/2007/08/fwunixref.pdf

Welcome to LQ!
 
1 members found this post helpful.
Old 10-06-2017, 01:54 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,401
Blog Entries: 10

Rep: Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212Reputation: 5212
i've never heard of a linux user who first learned all commands, and then started using it.
so maybe you tell us what sort of "commands" you need, or, more precisely, what you are trying to accomplish and where you fail?
 
1 members found this post helpful.
Old 10-06-2017, 01:59 AM   #6
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,655
Blog Entries: 3

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
You can get a full list of the programs available on your particular machine using apropos

Code:
apropos -w '*'
apropos -w '*' | less
However, like with anything else, you will need to invest a little time regularly to learn.

Code:
man apropos
man less
man man
One point about learning is that these are not "commands" to be memorized in advance. There are way too many and way too many options. That is still true even if you limit yourself to ones you use frequently. What you can do to ensure your success it to learn to navigate the manual pages and deal with everything from a "just in time" approach rather than "just in case".

Another point is that the shell is not just an advanced interface that has been refined and streamlined over more than four decades. It is also a full scripting language. So my main suggestion would be to approach the task as one of learning a programming language. You'll save a lot of time and headache that way.
 
2 members found this post helpful.
Old 10-06-2017, 02:13 AM   #7
MauiB
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
@ondoho. What I did was installed Fedora on my laptop, dual boot with windows. I am familiar on how linux works, as I explained, I was busy with an essential course via NDG. I want to start making myself familiar with the commands and what they do.
 
Old 10-06-2017, 02:16 AM   #8
MauiB
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
@Turbocapitalist. Thank you for the information. I am going to start spending more time with linux. It is one of the things I must specialize in.
 
Old 10-06-2017, 02:41 AM   #9
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,655
Blog Entries: 3

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
No problem. As you see in the manual page, the utility apropos can use additional options. So if you want to just look at the manual pages for only the programs themselves and no configuration files, libraries, or specifications you can tell at it to list only pages from sections 1 and 8.

Code:
apropos --sections 1,8 -w '*' 
apropos --sections 1,8 -w '*' | less
The manual pages are good references, usually. They do vary in quality but the goal is to be a technical reference. Tutorials are done on the web. So expect that the manual pages can be used to look up some concise details but that you'll have to turn to the web for tutorials. You'll alternate between the two methods a lot.
 
1 members found this post helpful.
Old 10-06-2017, 02:59 AM   #10
MauiB
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by Turbocapitalist View Post
No problem. As you see in the manual page, the utility apropos can use additional options. So if you want to just look at the manual pages for only the programs themselves and no configuration files, libraries, or specifications you can tell at it to list only pages from sections 1 and 8.

Code:
apropos --sections 1,8 -w '*' 
apropos --sections 1,8 -w '*' | less
The manual pages are good references, usually. They do vary in quality but the goal is to be a technical reference. Tutorials are done on the web. So expect that the manual pages can be used to look up some concise details but that you'll have to turn to the web for tutorials. You'll alternate between the two methods a lot.
Great help thanks a lot. I appreciate it. I owe you a couple of beers
 
Old 10-06-2017, 04:54 AM   #11
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
Quote:
Originally Posted by Turbocapitalist View Post
You can get a full list of the programs available on your particular machine using apropos
I agree it is useless to "learn commands". However it is useful to see now and then which commands are available to do something in a smarter or more efficient way.
Like apropos itself. I remember that I have seen it mentioned before, but I totally forgot it existence. I feel it is getting recursive here. You need apropos to list the existence of apropos.
It is a good addition to filter only on (5) manual pages. For interacting with the shell usually only those commands are relevant. So
Code:
apropos -w -s 5 '*'
This yields a list of 400 commands. Still too many to learn. But in total (all sections) almost 4000 man pages are available.

jlinkels
 
Old 10-08-2017, 11:45 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,873

Rep: Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600Reputation: 2600
... and quoting from the man page
Quote:
-k Equivalent to apropos.
 
Old 10-08-2017, 11:50 PM   #13
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,655
Blog Entries: 3

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
apropos and man are fairly close but the former allows the -w option for a 'wildcard' pattern. In the latter it does something else and the trick with the asterisk won't work.
 
Old 10-09-2017, 09:34 AM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,692
Blog Entries: 37

Rep: Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888Reputation: 2888
Member response

Hi,
Welcome to LQ!

Quote:
Originally Posted by MauiB View Post
I am very new to linux and read a lot of forums and reviews and decided to take a stab with Fedora. I want to make one of my office PC's a file server and is looking for a command list, it will be greatfully appreciated. I tried NDG free linux essentials course via Cisco NETACAD, but don't really have time to finish.
Sure, you can use 'man command' but there are other means to learn;

Quote:
Just a few links to aid you to gaining some understanding.

I would start at 1,2 &3 or 9 while the other links will enhance your experience;
Some of the material may seem dated but you will get the basics.

Quote:
"Knowledge is of two kinds. We Know a subject ourselves, or we know where we can find information upon it."- Samuel Johnson
Hope this helps.
Have fun & enjoy!

Last edited by onebuck; 10-09-2017 at 09:39 AM. Reason: add comment quote
 
Old 10-09-2017, 08:55 PM   #15
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,495
Blog Entries: 28

Rep: Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433Reputation: 5433
There are thousands of Linux commands, many of which have variations depending on the command line arguments and switches. It's likely better to start with a few basic commands, then learn the others as you need them.

I just looked at my BASH history, The commands I use most commonly are "ls," "rm," "pwd," "man [topie]" and "apropos [subject]," "cp," "cd," and "mv."

A web search for basic Linux commands will turn up a number of helpful links.
 
  


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
[SOLVED] Command to convert a sentenced list into a line list separated by an or symbol? linustalman Linux - General 10 03-28-2017 08:43 AM
[SOLVED] Partial list with ls-l in bash script run in cron but full list run from command line redgshost Linux - General 29 01-16-2011 12:14 PM
Is there a command list which indicates the UNIX command equivalents also? Lil Linux - Newbie 5 08-05-2010 03:10 AM
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
Command to run another command against a list of files psweetma Linux - General 3 11-09-2005 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 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
Open Source Consulting | Domain Registration