Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Getting Help

Getting Help:

The Command that are used to get the help are discussed as :

  1. Whatis

Display a short description of command , it uses a database that is updated nightly. Often not available immediately after installation.

Syntax:

# Whatis cal

  1. Help

Display usage summary and argument list

Syntax:

--help

Example:

#Date –help

  1. Man and Info:

Both provide documentation for command. Almost every command has a “man” page. Collection of pages are called linux manual.

# man date

# info date

Viewing Text Page

Syntax:

#less [option] [filename]

Example:

# less abc.txt

scroll with arrows/PgUp /PgDown

/text : search for text

n : Next Match

Option:

-c : Clear before displaying

-s : Squeeze multiple blank lines into a single blank line

Simply we can also use “less” along with pipe | as

# ll |less



This post first appeared on RED HAT ENTERPRISE LINUX, please read the originial post: here

Share the post

Getting Help

×

Subscribe to Red Hat Enterprise Linux

Get updates delivered right to your inbox!

Thank you for your subscription

×