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
  • 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......
  • Linux - ToVid for vcd creation Linux.com has an article about ToVid, a utility to help convert video into VCD format. ToVid started out as just a VCD imager for mpeg files, but has expanded to be able to handle most video formats for input. It can also work with dvdauthor and other tools depending on......
  • 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......
Blog Traffic Exchange Related Websites
  • Through Which Could You Search For Kid's Sportswear On-line? Every day, local clothing shops are jam-packed with customers which are attempting to find numerous some things to wear for children. Sportswear is definitely one of the common categories as kids are getting more a part of sports activities to obtain fun and stay physically fit. Most outfitters categorise their......
  • 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......
  • Learn How to Repair a Flooded Home After a flood, it may seem as if your home and your possessions are beyond hope, but many of those belongings can likely be repaired. With the right process, you can clean up, dry out, rebuild and reoccupy your home much sooner than you may have previously imagined. First and......
PDF24    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