Similarly to find and replace all in Microsoft products, you can use :\%s
to
search and replace in the vi editor.
Practically, to search for gobbledygook
and replace it with balderdash
in
your file, first hit escape before typing :\%s/gobbledygood/balderdash/g
and
hitting enter.
The g
makes it global (meaning every instance is changed).
- UNIX Guide 0.1
- Getting Started
- Connecting to Computers (ssh and VPN)
- Folders: cd, mkdir, pwd, and more!
- Copying and Removing Files
- Compressing and Expanding Files
- Processes
- Creating, Reading, and Editing Files
- Printing and Reorganizing Files
- Images
- Keyboard Shortcuts and Special Characters
- Other Helpful Things
- Quick Intro to Computer Admin-ing
- Running Jobs
- Fun Commands