Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
@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.
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.
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.
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.
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
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Quote:
Originally Posted by Turbocapitalist
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.
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.
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;
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."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.