[Expyezp] linuxfest en vez de parchando parches

Juan I Reyes juanig at Maginvent.ORG
Thu Oct 22 14:57:43 PDT 2009


On Thu, 2009-10-22 at 15:21 -0500, Jose Ignacio Quevedo wrote:
> Valdria la pena entonces que alguien me lo explicara, para entenderlo
no?

Mucho esta explicado en los "man" pages.

Solo haces "man" y el nombre del comando.

Por ejemplo "man grep":

========================================================================

strawberry> man grep

NAME
       grep, egrep, fgrep - print lines matching a pattern

SYNOPSIS
       grep [options] PATTERN [FILE...]
       grep [options] [-e PATTERN | -f FILE] [FILE...]

DESCRIPTION
       Grep  searches the named input FILEs (or standard input if no
files are
       named, or the file name - is given) for lines containing a match
to the
       given PATTERN.  By default, grep prints the matching lines.

       In addition, two variant programs egrep and fgrep are available.
Egrep
       is the same as grep -E.  Fgrep is the same as grep -F.

OPTIONS
       -A NUM, --after-context=NUM
              Print NUM  lines  of  trailing  context  after  matching
lines.
              Places  a  line  containing  --  between  contiguous
groups  of
              matches.

       -a, --text
              Process a binary file as if it were text; this is
equivalent  to
              the --binary-files=text option.

       -B NUM, --before-context=NUM
              Print  NUM  lines  of  leading  context  before  matching
lines.
              Places  a  line  containing  --  between  contiguous
groups  of
              matches.

       -C NUM, --context=NUM
              Print  NUM lines of output context.  Places a line
containing --
              between contiguous groups of matches.

       -b, --byte-offset
              Print the byte offset within the input file before each
line  of
              output.

       --binary-files=TYPE






More information about the Expyezp mailing list