Category: RHEL Commands

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]…

0

‘split’: Split a file into pieces

‘split’ creates output files containing consecutive or interleaved sections of INPUT (standard input if none is given or INPUT is ‘-‘). Synopsis:      split [OPTION] [INPUT [PREFIX]] By default, ‘split’ puts 1000 lines of INPUT (or whatever is left over for the last section), into each...

0

‘tail’: Output the last part of files

‘tail’ prints the last 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: tail [OPTION]… [FILE]… If more than one FILE is specified, ‘tail’ prints a one-line header consisting...

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

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

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

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