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.
edit/paste
i
save and close
:wq
close without save
:q!
search
search forward
/Searchtext
back
?Searchtext
continue search "n" next
Search / Replace
:1,$s/Unix/Linux/g
replace "Unix" with "Linux" (range: 1,$ -> from beginning to end, g: replace all)
:%s/Unix/Linux/g
delete the whole document
:1,$d

{{percentage}} % positive

THANK YOU for your review!
Top articles in this section
The currently available Linux kernel has the version: 6.5.4 (found: 2023-09-19). Source: www.kernel.org. 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:
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.
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.