Category: RHEL Commands

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

‘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

‘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

‘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

‘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

‘md5sum’: Print or check MD5 digests

‘md5sum’ computes a 128-bit checksum (or “fingerprint” or “message-digest”) for each specified FILE. Note: The MD5 digest is more reliable than a simple CRC (provided by the ‘cksum’ command) for detecting accidental file corruption, as the  chances of accidentally having two files with identical MD5 are...

0

‘sum’: Print checksum and block counts

‘sum’ computes a 16-bit checksum for each given FILE, or standard input if none are given or for a FILE of ‘-‘.  Synopsis:      sum [OPTION]… [FILE]…

0

‘wc’: Print newline, word, and byte counts

‘wc’ counts the number of bytes, characters, whitespace-separated words, and newlines in each given FILE, or standard input if none are given or  for a FILE of ‘-‘.  Synopsis:      wc [OPTION]… [FILE]…

0

‘cksum’: Print CRC checksum and byte counts

‘cksum’ computes a cyclic redundancy check (CRC) checksum for each given FILE, or standard input if none are given or for a FILE of ‘-‘. Synopsis:      cksum [OPTION]… [FILE]…

Follow

Get every new post delivered to your Inbox

Join other followers

Page 1 of 2