vim simple command:
Open Edit: Press "i" or "Insert" key
to exit the editor: "Esc" key
to exit vim: ": q"
Save vim: ": w"
to save and exit vim: ": wq"
to exit without saving vim: ": q! "
Check the current system version, enter:
cat /etc/redhat-release 或 : lsb_release -a