hello I'm hamoon
and this is the first steps to became a linux
professional so lets do this!!!!
( holy moly linuxxxxxxxxxxxx )
TIP: the 99% of this notes and tests are in the ubuntu os system and some of the are REH too so dont be worry (:
the lpic 1 course notes:
sed: sed - stream editor for filtering and transforming text
DESCRIPTION: Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline which particularly distinguishes it from other types of editors.
the usage: sed -e 's/hh/hi/' hh.txt
tip: with this command we can replace the hh
to hi in the hh.txt