VI Editor - Commands


Most Linux distributions use VI as their default editor. Although VI is very convenient to use after learning certain shortcuts, it is not exactly self-explanatory, especially for beginners.



save and close


close without save


search forward




continue search "n" next

Search / Replace


replace "Unix" with "Linux" (range: 1,$ -> from beginning to end, g: replace all)


delete the whole document

positive Bewertung({{pro_count}})
Rate Post:
{{percentage}} % positive
negative Bewertung({{con_count}})

THANK YOU for your review!

Publication: 2022-10-09 from Bernhard | Übersetzung Deutsch |🔔 | Comments:0

Install Ubuntu or start live system | Linux | MySQL commands in Linux: connection, database, backup

Top articles in this section

Fan control Linux Debian: Fancontrol

After I installed a fan in my NAS, it always ran at top speed. In the BIOS I could set the speed, but the automatic mode did not work properly. Using the service fancontrol the speed of the fan can be linked to any sensor and any threshold and controlled automatically.

Debian or Ubuntu kernel update or change- current kernel

The currently available Linux kernel has the version: 6.6.4 (found: 2023-12-04). Source: The Linux distributions, as an example Debian or Ubuntu used new kernel versions only with some delay, accordingly the used kernel versions are usually somewhat older. Which kernel is active on a Linux system can be read out with the following command:

Linux folder used space - Bash TreeSize

To find out which folder needs how much space, the command “du” can be used on Debian. For an even better overview there is the commandline tool ncdu, which can analyze all folders similar to TreeSize.

Questions / Comments

By continuing to browse the site, you agree to our use of cookies. More Details