Introduction to Linux in HPC/The vim text editor

From HPC Wiki
Introduction to Linux in HPC/The vim text editor /
Jump to navigation Jump to search


HPC.NRW
HPC.NRW
Other HPC Courses
GPU Introduction to GPU Programming
GPROF Gprof Tutorial
Introduction to Linux in HPC
1. Historical Background
2. The Command Line
3. Directory structure
4. Files
5. Text display search
6. Processes and permissions
7. The vim text editor
8. Shell scripting environment variables
9. System configuration files
10. Various tips
11. Beyond the cluster
12. Linux in HPC
13. SSH Login


Video


Quiz

1. How to enter the insert mode of vim?

press enter key
press i key
press Esc key


2. How would you open a file in read-only mode using the vim editor?
Hint: In terminal man vim

Click and submit to see the answer


Info:  If you forget in which mode you are in while using vim, just keep pressing Esc.


Exercises in Terminal (slide 100)

1.  Create a vim file and write some text in it with insert (pressing i) and than undo and redo the changes. 


Previous Page
Main Menu Page
Next Page