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
  • 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......
  • 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......
  • 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......
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......
  • 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......
  • 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......
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