How do I save all commands in Linux?

How do I save all commands in Linux?
Answer
Once you have modified a file,
press [Esc] shift to the command mode and press :w and hit [Enter] as shown below. To save the file and exit at the same time, you can use the ESC and
key and hit [Enter] . Optionally, press [Esc] and type Shift + Z Z to save and exit the file.
 

Tìm kiếm

Back
Top