Author: Ramdev

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

Manual Installation of RHEL6 from DVD

Let’s start with a typical installation of Red Hat Enterprise Linux on a Virtual Box Step 1. Create a new virtual machine in VirtualBox, with 384MB of RAM, and name it RHEL01. Step 2. Make sure that the installation CD is in the drive (or attached...

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

1

Part 2 – Mastering Grep – Regular Expressions

Using Regular Expressions with Grep A “regular expression” is a pattern that describes a set of strings. Regular expressions are constructed analogously to arithmetic expressions, by using various operators to combine smaller expressions. `grep’ understands three different versions of regular expression syntax: “basic,” (BRE) “extended” (ERE)...

Page 42 of 74