Using the command line in linux – part 3



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?

“cdrecord –help”

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 Posts

Blog Traffic Exchange Related 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,......
  • Developergo linux Livecd review The thing I love about linux livecd's is the ability to try before you make much of a commitment. You can boot, test, evaluate, and then reboot and be back at your usual desktop as if nothing has happened. (With emulators like QEMU and VMWare you don't even have to......
  • 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......
Blog Traffic Exchange Related Websites
  • Find Help for College Student Loans If you are a baby boomer with kids in high school or college, student loans may be in your family's future. You don't want college costs to interfere with your retirement saving. There are some programs that will help your kids get rid of those student loans without sacrificing their......
  • Quick Way to Earn Paypal Cash I would like to offer something that you might earn fast paypal cash online. A list of 200 instant Paypal commissions affiliate programs¬† contains 200 affiliate programs that pay you instant commissions directly to your Paypal account. That means this is a way to earn quick money online. All you......
  • Where to Find a List of Stamps [/caption]In the world of stamp collecting, it is always great to be able to know where to go to be able to find your treasured stamps. Although stamp collecting can be an inexpensive hobby that has endless possibilities to it, you need to have a general idea of what types......
www.pdf24.org    Send article as PDF   

Similar Posts


See what happened this day in history from either BBC Wikipedia
Search:
Keywords:
Amazon Logo

Comments are closed.


Switch to our mobile site