as root user: sudo su

File access

cat <file name> read
cat > <file name> overthrow
vi <file name> open vi editor
mv <old name> <new name> rename a file
rm remove
cp -v <from path> <to path>

find <path> -name <name | regular expression > search by file name or regular expression
:w save
:wq or zz save and exit
:q! exit without saving
i insert
d or <number>dd delete lines
b to the beginning of the word
e to the end of the word
:u or :<number>u undo
:set nu show line number
:<line number> to the given line
<number>yy yank multiple lines from the cursor position