Install Vim, if it's not available:
sudo apt install vim = Search for a given packageThere are 2 Modes:
Vim Commands:
vim [filename] = Open file with VimPress i key = Switch to Insert ModePress esc key = Switch to Command ModeType :wq = Write File to disk and quit VimType :q! = Quit Vim without saving the changesType dd = Delete entire lineType d10 = Delete next 10 linesType u = UndoType A = Jump to end of line and switch to insert modeType 0 = Jump to start of the lineType $ = Jump to end of the lineType 12G = Go to line 12Type 16G = Go to line 16Type /pattern = Search for pattern, e.g. /nginx
Type n = Jump to next matchType N = Search in opposite direction