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......
  • 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,......
  • Using the command line in linux - part 1 I know many people get intimidated with a black screen, white text and blinking cursor. No mouse, not knowing where to start.... well, I'm going to spend a bit of time in this article trying to help show you how to survive the command line in linux. For starters, don't......
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......
  • 4 Reasons Why Your Online Business Needs an Email List All businesses should have an email list. However, email lists are an especially important asset for owners of online businesses, as they usually don't have in-person contact with their customers. Email lists give business owners a way to both publicly and privately communicate with their customers. Regardless of the business......
  • 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......
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