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”)
Popularity: 1% [?]
Related 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......
- 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,......
- 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......
Related Websites - 4 Secrets To Do Extremely Well With Article Marketing If you have a small business you need to market it on the internet in as many ways as possible. Article marketing is undoubtedly one of the easiest and cheapest ways to get the word out about your website and your offerings. Anyone, including those who are new in the......
- 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......
- 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......
Similar Posts
- 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