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
- 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......
- Neat grep intro Linuxgangster.org (??) has a good article up on the powerful grep command. GREP is one of the most useful command line tools in linux (really, there are so many it's hard to choose, but this is one I use more frequently than most others...) grep can stand on it's own......
- Windows Run commands reference One of the frustrating things about windows is having to wander through X number of menus looking for a specific item that you KNOW is there, but just can't quite find. If ONLY you remembered the command name for it, but the RUN commands are sometimes quite a bit different......
- My Knee Ache When Cycling My Knee Brace Really Helped Whether you are an avid cyclist, or just like to take an occasional jaunt on your bike, your knee aches and pains when cycling can cause you to "put on the brakes", if you know what we mean... Cycling is a great form of exercise; considered by many individuals to......
- 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......
- 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......
- 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