Now that we’ve logged in and learned how to move from one directory to another (and find where we are if we get lost…) it’s probably time to start learning how to find out about other commands. Well, if you press tab at the command line you will likely see something that starts like this….
Display all 4601 possibilities? (y or n)
and if you answer with a “y” you will see a long list of programs that could be run. That’s not usually the best way to find a program though.
One of the things I like in linux is good console based help features…. let’s say I want to burn a cd, but I don’t know what tool to use…. $apropos cd
I get a long list… but one entry that might catch the eye is ….
cdrecord (1) – record audio or data Compact Disks or Digital Versatile Disks from a master
okay, so how do we use it?
will tell us a lot, but might not be as helpful as….
“man cdrecord” which will give us a “manual” page as well….
most commands like cdrecord watch to see what “options” have been requested of the program. In the above example –help is an “option” –help is usually used to list what options a program accepts and gives a brief explanation of what each of those does.
If –help doesn’t work, you might try -h (windows tends to use /? ) Many times if you just type the command name without any options (and it expects something) you will get a brief listing of the most commonly used options (options are sometimes called “switches”)
Related PostsRelated Posts
- Using the command line in linux - part 2 This is part two in a series of "how to use the command line in linux" style articles.... these are intended to be quite basic for those that have not used a command line before.... In part one we logged in (if necessary) and found out about the help command,......
- Quick way to make a text only banner image Linux.com has a great writeup on making banner images quickly and easily from the command line (or a script). The catch here is that text is the content for the image. Under linux that will require the following programs.... enscript and convert. Of course since this can be done from......
- List of Open Source software Packages The following is long, but likely not complete. This is a list of open-source software packages: Computer software licensed under an open-source license. Software that fits the Free software definition may be more appropriately called free software; the GNU project in particular objects to their works being referred to as......
- Weekend Fun: Fibonacci Series Using MS-DOS It's a weekend (well, actually it's end of weekend :-( ) I am bored of doing any serious work today. It's a hot sunny day outside as summer is catching up, so going out is not an option. There is nothing interesting to watch on television (and there rarely is......
- Can Hypnosis Help You Lose Weight? First of all, I'd like to thank Israel for the opportunity to be a guest blogger on this wonderful site he's created! He has done a super job with it and he's an inspiration to all of us. Whether you need to lose weight or would just like to be......
- How to be a Money Strategist to Reach Your Financial Goals (Part 2) How to be a Money Strategist In Part 1 of this article, I explained that I was a "money strategist." Then, using the financial goals agreed on by me and my wife, I discussed how money strategies and money tactics work together in a personal financial plan to achieve those goals. I then proposed that anyone can......
- Using the command line in linux – part 1
- Using the command line in linux – part 4
- Fantastic command reference for Windows, Linux, Apple and Oracle
- Windows Run commands reference
- Scheduling tasks in linux – the at command