TLDR
Enter a command. For example: git browse, pretty bytes, odps inst.

ex

 
Command-line text editor. See also: vim. More information: https://www.vim.org.
 
  • Open a file:
     
    ex {{path/to/file}}
     
  • Save and Quit:
     
    wq
     
  • Undo the last operation:
     
    undo
     
  • Search for a pattern in the file:
     
    /{{search_pattern}}
     
  • Perform a regular expression substitution in the whole file:
     
    %s/{{regular_expression}}/{{replacement}}/g
     
  • Insert text:
     
    i{{text}}
     
  • Switch to Vim:
     
    visual

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.