Linux useful command cheetsheet

  1. Text edit
    1. sed
    2. wc
    3. vim

Text edit

sed

sed -i 's/snow/rain/g' forests.txt 

wc

wc -l file // line
wc -w file // word
wc -c file // character

vim