Linux Fundamentals: Editing Files

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

flashcard set

Earn XP

Description and Tags

This set of vocabulary flashcards covers essential commands and terminology for Vim, GNU nano, and gedit text editors as detailed in the Linux Fundamentals lecture.

Last updated 4:14 PM on 6/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

Vim

A command line file editor that is an implementation of Vi; it is the default text editor for nearly all Linux distributions and is highly customizable.

2
New cards

Command mode (Vim)

The mode in Vim where keystrokes issue commands to the editor rather than entering text.

3
New cards

Insert mode (Vim)

The mode in Vim where keystrokes enter content into the text file; it is activated by pressing "i" and exited by pressing "ESC".

4
New cards

Ex mode (Vim)

A mode accessed from command mode by typing a colon (":"), enabling a command prompt for processing additional commands such as saving and quitting.

5
New cards

Vimtutor

A command entered in the shell that opens a 25-30 minute tutorial of common Vim tasks designed for learning by doing.

6
New cards

GNU nano

A lightweight, common command line text editor in Linux; it displays common shortcuts at the bottom of the screen using the "^" symbol to represent the "CTRL" key.

7
New cards

gedit

A GUI-based text editor with menu buttons that requires a graphical user interface like GNOME, Xfce, or KDE to be installed.

8
New cards

Vim: x

Delete the character at the cursor.

9
New cards

Vim: G

Move the cursor to the bottom of the file.

10
New cards

Vim: gg

Move the cursor to the top of the file.

11
New cards

Vim: 42G

Move the cursor to line 4242 of the file.

12
New cards

Vim: /keyword

Search the file for "keyword".

13
New cards

Vim: y

Yank text (cut).

14
New cards

Vim: p

Put text (paste).

15
New cards

Vim: ZZ

Save changes and exit Vim.

16
New cards

Vim: dd

Delete the line at the cursor.

17
New cards

Vim: u

Undo the last command.

18
New cards

Vim: :s/old/new/g

Globally find "old" and replace with "new".

19
New cards

Vim: o

Enter insert mode and create a line below the cursor.

20
New cards

Vim: A

Enter insert mode and enter text after the cursor.

21
New cards

Vim: h, j, k, l

Commands to move the cursor left, down, up, and right, respectively.

22
New cards

Vim: :wq

Writes file and then quits Vim.

23
New cards

Vim: :q!

Quits Vim without saving changes.

24
New cards

Vim: K

Open the man page for the word at the cursor.

25
New cards

Nano: ^G

Display help text.

26
New cards

Nano: ^O

Write the current file to disk (save).

27
New cards

Nano: ^X

Close the current file buffer and exit from nano.

28
New cards

Nano: ^W

Search for a string or a regular expression.

29
New cards

Nano: ^K

Cut the current line and store it in cutbuffer.

30
New cards

Nano: ^U

Uncut from cutbuffer into the current line (paste).

31
New cards

Nano: ^C

Display the position of the cursor.

32
New cards

Nano: M-W

Repeat the last search.

33
New cards

Nano: M-]

Move to the matching bracket.

34
New cards