- C-a == Ctrl-a
- M-a == Alt-a
:q close
:w write/saves
:wa[!] write/save all windows [force]
:wq write/save and close
#!/bin/bash | |
scriptname="script_template" | |
### functions | |
function usage | |
{ | |
echo -e "usage: $scriptname MANDATORY [OPTION]\n" | |
echo -e "MANDATORY mandatory parameter:" | |
echo -e " -m, --mandatory VAL The desc of the mandatory parameter\n" |