Lec 2
Lec 2
vim editor: vim (Vi IMproved) is an advanced text editor based on the old vim editor,
which is specially designed for efficient text editing in Unix-like operating systems. Vim is
widely used by developers and system administrators, including for creating and editing
scripts, such as settings or code. It is distinguished by its efficiency, computing features and
speed.
Open a file using vim: To open a file using vim, you can use the following command:
Normal Mode: The default mode when you open vim, in which you can navigate and
execute commands.
Basic commands:
Code files.
LaTeX files.
System log files.
SQL files.
Plain Text files.
Delete texts:
Job command
Delete an entire line dd
Delete a word dw
File and network management commands in Kali Linux, Red Hat, and Windows:
Create a new file touch filename touch filename echo > filename
Job Kali Linux Red Hat Windows