3. Cutting
Learn how to cut text in emacs using keyboard shortcuts
Category: Introduction to Terminal
Cutting files in emacs
To cut text in emacs, use Ctrl + w.
Create a new file /root/0x02_emacs/cutting. using
emacs /root/0x02_emacs/cutting
Save the file by running Ctrl + x, Ctrl + s
Verify the changes by running the cat command.
cat /root/0x02_emacs/cuttingThe above command will display the content of the file, in the terminal.