how use vim in linux

Shell
:x[return]:i[enter]:q![return]
Source

Also in Shell: