Category: Redhat Enterprise Linux 6

0

‘fold’: Wrap input lines to fit in specified width

‘fold’ writes each FILE (‘-‘ means standard input), or standard input if none are given, to standard output, breaking long lines.  Synopsis:      fold [OPTION]… [FILE]… By default, ‘fold’ breaks lines wider than 80 columns.  The output is split into as many lines as necessary. ‘fold’...

0

‘head’: Output the first part of files

‘head’ prints the first part (10 lines by default) of each FILE; it reads from standard input if no files are given or when given a FILE of ‘-‘. Synopsis:   head [OPTION]… [FILE]… If more than one FILE is specified, ‘head’ prints a one-line header...

0

‘csplit’: Split a file into context-determined pieces

‘csplit’ creates zero or more output files containing sections of INPUT (standard input if INPUT is ‘-‘).  Synopsis:      csplit [OPTION]… INPUT PATTERN… The contents of the output files are determined by the PATTERN arguments as detailed below.  An error occurs if a PATTERN argument refers...

0

‘pr’: Paginate or columnate files for printing

‘pr’ writes each FILE (‘-‘ means standard input), or standard input if none are given, to standard output, paginating and optionally outputting in multicolumn format; optionally merges all FILEs, printing all in parallel, one per column.  Synopsis:      pr [OPTION]… [FILE]… By default, a 5-line header...

0

‘numfmt’: Reformat numbers

‘numfmt’ reads numbers in various representations and reformats them as requested.  The most common usage is converting numbers to/from _human_representation (e.g.  ‘4G’ ==> ‘4,000,000,000’).      numfmt [OPTION]… [NUMBER]    ‘numfmt’ converts each NUMBER on the command-line according to the specified options (see below).  If no NUMBERs...

0

‘fmt’: Reformat paragraph text

‘fmt’ fills and joins lines to produce output lines of (at most) a given number of characters (75 by default).  Synopsis:      fmt [OPTION]… [FILE]…    ‘fmt’ reads from the specified FILE arguments (or standard input if none are given), and writes to standard output.   ...

0

‘base64’: Transform data into printable data

‘base64’ transforms data read from a file, or standard input, into (or from) base64 encoded form.  The base64 encoded form uses printable ASCII characters to represent binary data.  Synopses:      base64 [OPTION]… [FILE]      base64 –decode [OPTION]… [FILE] The base64 encoding expands data to roughly 133%...

0

‘od’: Write files in octal or other formats

‘od’ writes an unambiguous representation of each FILE (‘-‘ means standard input), or standard input if none are given.  Synopses:      od [OPTION]… [FILE]…      od [-abcdfilosx]… [FILE] [[+]OFFSET[.][b]]      od [OPTION]… –traditional [FILE] [[+]OFFSET[.][b] [[+]LABEL[.][b]]] Each line of output consists of the offset in the...

0

‘nl’: Number lines and write files – Linux Command

‘nl’ writes each FILE (‘-‘ means standard input), or standard input if none are given, to standard output, with line numbers added to some or all of the lines. Synopsis: nl [OPTION]… [FILE]… ‘nl’ decomposes its input into (logical) pages; by default, the line number is...

0

‘tac’: Concatenate and write files in reverse

  ‘tac’ copies each FILE (‘-‘ means standard input), or standard input if none are given, to standard output, reversing the records (lines by default) in each separately.  Synopsis:      tac [OPTION]… [FILE]… “Records” are separated by instances of a string (newline by default).  By default,...

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us