Author: Ramdev

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

0

‘cat’: Concatenate and write files – Linux Command

‘cat’ copies each FILE (‘-‘ means standard input), or standard input if none are given, to standard output.  Synopsis:      cat [OPTION] [FILE]… The program accepts the following options.  ‘-A’ | ‘–show-all’                 Equivalent to ‘-vET’. ‘-b’ | ‘–number-nonblank’    Number all nonempty output lines, starting with 1....

0

5 Commands to view Linux File Content

  cat   Command::               Concatenate and write files tac Command ::                Concatenate and write files in reverse nl Command ::                   Number lines and write files od Command ::                  Write files in octal or other formats base64 Command ::         Transform data into printable data...

Plugin by Social Author Bio

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