1
00:00:00,330 --> 00:00:01,350
In this lesson,

2
00:00:01,350 --> 00:00:04,140
we're going to discuss how you can create and edit text files

3
00:00:04,140 --> 00:00:06,330
on a Linux operating system.

4
00:00:06,330 --> 00:00:08,430
As we start to perform these functions,

5
00:00:08,430 --> 00:00:10,350
we need to take a more high-level approach

6
00:00:10,350 --> 00:00:12,510
to managing the data itself.

7
00:00:12,510 --> 00:00:14,370
By managing files and directories

8
00:00:14,370 --> 00:00:16,860
you're going to be able to quickly create, retrieve,

9
00:00:16,860 --> 00:00:18,600
or otherwise process data

10
00:00:18,600 --> 00:00:20,370
so it provides you with the most benefit

11
00:00:20,370 --> 00:00:21,510
to your organizations

12
00:00:21,510 --> 00:00:24,030
and your day to day administrative tasks.

13
00:00:24,030 --> 00:00:26,370
Now, although you've made some basic file creation

14
00:00:26,370 --> 00:00:28,020
and editing tasks in the past,

15
00:00:28,020 --> 00:00:30,000
it's time for you to become more familiar

16
00:00:30,000 --> 00:00:34,320
with text based tools like Vim and GNU nano.

17
00:00:34,320 --> 00:00:36,030
Almost everything you're going to configure

18
00:00:36,030 --> 00:00:39,000
on your system is going to be done through text files.

19
00:00:39,000 --> 00:00:42,360
So now you need to make sure you have some practice creating

20
00:00:42,360 --> 00:00:44,760
and editing text files in Linux.

21
00:00:44,760 --> 00:00:47,160
Essentially, when I'm talking about a text editor

22
00:00:47,160 --> 00:00:50,250
I'm talking about an application that enables you to view,

23
00:00:50,250 --> 00:00:54,330
create, or modify the contents of different text files.

24
00:00:54,330 --> 00:00:57,060
Text editors were originally created to write programs

25
00:00:57,060 --> 00:01:00,150
in source code, but they're also used to edit

26
00:01:00,150 --> 00:01:03,030
a wide variety of text-based files.

27
00:01:03,030 --> 00:01:05,099
There are many different types of text editors

28
00:01:05,099 --> 00:01:06,600
that are compatible with Linux

29
00:01:06,600 --> 00:01:09,120
but not all of them support formatting options

30
00:01:09,120 --> 00:01:11,280
like a word processor would.

31
00:01:11,280 --> 00:01:13,680
We're going to be discussing in a lot of depth

32
00:01:13,680 --> 00:01:15,450
a couple of basic text editors

33
00:01:15,450 --> 00:01:17,100
that are compatible with Linux.

34
00:01:17,100 --> 00:01:20,580
This includes vi, Vim, Emacs,

35
00:01:20,580 --> 00:01:22,680
gVim, gedit,

36
00:01:22,680 --> 00:01:24,450
and GNU nano.

37
00:01:24,450 --> 00:01:26,850
Now Vi is a visual text editor

38
00:01:26,850 --> 00:01:28,050
and that's how it got its name.

39
00:01:28,050 --> 00:01:31,260
Vi stands for Vi from visual.

40
00:01:31,260 --> 00:01:33,270
Now this was originally created for Unix

41
00:01:33,270 --> 00:01:36,030
but was cloned into free and open source versions

42
00:01:36,030 --> 00:01:38,190
that are also run in Linux.

43
00:01:38,190 --> 00:01:42,120
Now an improved version of this is known as Vim V-I-M.

44
00:01:42,120 --> 00:01:43,890
And this is the default text editor

45
00:01:43,890 --> 00:01:46,170
in most Linux distributions.

46
00:01:46,170 --> 00:01:48,420
Another one we have is Emacs.

47
00:01:48,420 --> 00:01:52,020
Emacs is a flexible, powerful, and popular text editor

48
00:01:52,020 --> 00:01:54,690
that's used in both Unix and Linux.

49
00:01:54,690 --> 00:01:57,450
Another one we can use is gVim.

50
00:01:57,450 --> 00:02:00,090
This is a graphical version of the Vim editor.

51
00:02:00,090 --> 00:02:02,580
And it's used if you have a windowing system

52
00:02:02,580 --> 00:02:05,130
or graphical user operating system.

53
00:02:05,130 --> 00:02:08,490
If you use gedit, this is another simple, yet powerful

54
00:02:08,490 --> 00:02:10,560
GUI-based text editor that's used

55
00:02:10,560 --> 00:02:12,540
in the GNOME desktop environment.

56
00:02:12,540 --> 00:02:14,550
And if you use GNU nano,

57
00:02:14,550 --> 00:02:17,850
this is a small and user-friendly text editor.

58
00:02:17,850 --> 00:02:20,880
Now the first big one we're going to talk about is Vim.

59
00:02:20,880 --> 00:02:25,290
Vim is a contraction of Vi and improved, giving us Vim.

60
00:02:25,290 --> 00:02:28,500
Vim is an extended version of the Vi editor.

61
00:02:28,500 --> 00:02:31,320
Vim implements a text-based user interface

62
00:02:31,320 --> 00:02:33,660
and allows you to do advanced text editing,

63
00:02:33,660 --> 00:02:35,670
and it's favored by many system administrators

64
00:02:35,670 --> 00:02:38,730
and software engineers, because it is highly efficient

65
00:02:38,730 --> 00:02:42,240
and it has the ability to be extensively customized.

66
00:02:42,240 --> 00:02:45,960
Now Vim also includes useful features like text completion,

67
00:02:45,960 --> 00:02:49,650
syntax highlighting, spell checking, and much more.

68
00:02:49,650 --> 00:02:52,050
The Vim command can be called in the command line

69
00:02:52,050 --> 00:02:53,970
to bring up the Vim editor.

70
00:02:53,970 --> 00:02:56,400
When entered without a file name as an argument,

71
00:02:56,400 --> 00:02:59,880
the Vim command is going to open the welcome screen by default

72
00:02:59,880 --> 00:03:02,460
then you type Vim and the file name

73
00:03:02,460 --> 00:03:04,410
if you want to open up a file.

74
00:03:04,410 --> 00:03:06,090
If a file doesn't exist

75
00:03:06,090 --> 00:03:08,250
Vim will create the file with that name

76
00:03:08,250 --> 00:03:10,830
you specified and open it for editing.

77
00:03:10,830 --> 00:03:12,570
Vim supports multiple files

78
00:03:12,570 --> 00:03:14,910
being opened simultaneously as well.

79
00:03:14,910 --> 00:03:16,886
You can also choose to display multiple files

80
00:03:16,886 --> 00:03:19,200
horizontally or vertically.

81
00:03:19,200 --> 00:03:22,740
To do this, you'll click Control + W + V

82
00:03:22,740 --> 00:03:24,540
to create a vertical split

83
00:03:24,540 --> 00:03:28,800
or Control + W + S to split the screen horizontally.

84
00:03:28,800 --> 00:03:30,840
This allows you to have two text files open

85
00:03:30,840 --> 00:03:33,480
and you need to compare what one is versus the other,

86
00:03:33,480 --> 00:03:36,090
you can do that line by line very easily.

87
00:03:36,090 --> 00:03:38,370
Now, Vim is considered a modal editor

88
00:03:38,370 --> 00:03:40,650
and its different modes decide the functionality

89
00:03:40,650 --> 00:03:42,060
of different keys.

90
00:03:42,060 --> 00:03:44,640
The insert mode enables users to insert text

91
00:03:44,640 --> 00:03:46,620
by typing it into the system.

92
00:03:46,620 --> 00:03:49,470
The execute mode enables users to execute commands

93
00:03:49,470 --> 00:03:51,450
within the editor itself.

94
00:03:51,450 --> 00:03:53,580
The command mode enables users to perform

95
00:03:53,580 --> 00:03:56,880
different editing actions using single keystrokes,

96
00:03:56,880 --> 00:03:58,770
and our visual mode enables users

97
00:03:58,770 --> 00:04:01,410
to highlight or select text, to be able to copy it,

98
00:04:01,410 --> 00:04:03,840
delete it and do things like that.

99
00:04:03,840 --> 00:04:06,900
Now the command mode is the default mode of Vim

100
00:04:06,900 --> 00:04:08,820
but you can switch from the command mode

101
00:04:08,820 --> 00:04:11,790
to any other mode by using a single keystroke.

102
00:04:11,790 --> 00:04:15,210
If you want to go to the insert mode, simply press I

103
00:04:15,210 --> 00:04:18,420
and then you can insert text to the left of the cursor.

104
00:04:18,420 --> 00:04:21,300
If you press A, this'll switch to the insert mode

105
00:04:21,300 --> 00:04:23,610
and add text at the end of a line.

106
00:04:23,610 --> 00:04:26,730
If you press capital I, you can switch to insert mode

107
00:04:26,730 --> 00:04:29,010
and then insert text at the beginning of the line

108
00:04:29,010 --> 00:04:31,350
and press a key O to switch to insert mode

109
00:04:31,350 --> 00:04:34,560
and insert text on a new line below the cursor.

110
00:04:34,560 --> 00:04:37,620
If you press the capital O, it'll switch to insert mode

111
00:04:37,620 --> 00:04:40,227
and insert text in a new line above the cursor.

112
00:04:40,227 --> 00:04:42,420
And if you press V it'll switch you

113
00:04:42,420 --> 00:04:46,380
to visual mode to enable selection, one character at a time.

114
00:04:46,380 --> 00:04:49,590
If you press capital V you'll switch to a visual mode

115
00:04:49,590 --> 00:04:52,350
and enable selection one line at a time.

116
00:04:52,350 --> 00:04:54,210
If you press the colon key,

117
00:04:54,210 --> 00:04:55,857
this switches to the execute mode

118
00:04:55,857 --> 00:04:58,440
and enables users to enter commands.

119
00:04:58,440 --> 00:05:00,060
If you press the escape key

120
00:05:00,060 --> 00:05:02,610
you'll return back to the command mode.

121
00:05:02,610 --> 00:05:05,370
In command mode, when you enter the colon operator

122
00:05:05,370 --> 00:05:07,290
a small command prompt section will appear

123
00:05:07,290 --> 00:05:09,240
at the bottom of your editor.

124
00:05:09,240 --> 00:05:11,820
Now this indicates that you are now in execute mode

125
00:05:11,820 --> 00:05:14,640
and can run commands that are supported by Vim.

126
00:05:14,640 --> 00:05:17,820
For example, the colon W and the file name

127
00:05:17,820 --> 00:05:19,080
will actually save the file

128
00:05:19,080 --> 00:05:22,050
or write it with the file name that you're giving it.

129
00:05:22,050 --> 00:05:25,500
If you enter colon Q, this will actually quit the program

130
00:05:25,500 --> 00:05:28,830
and not save any changes that haven't been saved yet.

131
00:05:28,830 --> 00:05:31,680
If you hit colon Q with an exclamation mark

132
00:05:31,680 --> 00:05:34,950
it's going to quit while ignoring any changes that you've made.

133
00:05:34,950 --> 00:05:38,730
And if you hit colon QA, it's going to quit multiple files,

134
00:05:38,730 --> 00:05:40,530
basically quit all.

135
00:05:40,530 --> 00:05:44,340
If you do colon WQ, it's going to write the file first,

136
00:05:44,340 --> 00:05:46,050
then it's going to quit.

137
00:05:46,050 --> 00:05:49,200
If you do colon E exclamation, this is going to revert

138
00:05:49,200 --> 00:05:52,650
to the last saved format without closing the file.

139
00:05:52,650 --> 00:05:54,540
And if you do colon exclamation

140
00:05:54,540 --> 00:05:57,570
with any Linux command, that command will be executed

141
00:05:57,570 --> 00:05:59,833
and the command and the display will result

142
00:05:59,833 --> 00:06:02,580
inside of your Vim interface.

143
00:06:02,580 --> 00:06:05,940
Finally if you need help, you can type colon help,

144
00:06:05,940 --> 00:06:07,110
and the command will open up

145
00:06:07,110 --> 00:06:09,840
Vim's built-in help documentation.

146
00:06:09,840 --> 00:06:12,720
Now motions are considered single-key shortcuts.

147
00:06:12,720 --> 00:06:14,010
They're going to be used to navigate

148
00:06:14,010 --> 00:06:16,350
through the files in command mode.

149
00:06:16,350 --> 00:06:18,990
These key positions are going to move the cursor anywhere

150
00:06:18,990 --> 00:06:20,460
within a document.

151
00:06:20,460 --> 00:06:21,840
They can be used for moving the cursor

152
00:06:21,840 --> 00:06:24,330
through the characters, the words, the lines,

153
00:06:24,330 --> 00:06:26,640
or even huge blocks of text.

154
00:06:26,640 --> 00:06:28,140
By pressing the H key,

155
00:06:28,140 --> 00:06:30,330
you're going to move left one character.

156
00:06:30,330 --> 00:06:33,660
If you press the J key, you'll move down one line.

157
00:06:33,660 --> 00:06:36,690
If you press the K key, you'll move up one line.

158
00:06:36,690 --> 00:06:38,040
And if you press the L key

159
00:06:38,040 --> 00:06:40,230
you'll move to the right one character.

160
00:06:40,230 --> 00:06:42,240
If you want to go to the beginning of the line,

161
00:06:42,240 --> 00:06:44,730
use the Shift and the six key giving you

162
00:06:44,730 --> 00:06:47,430
that upwards caret that brings you to the beginning

163
00:06:47,430 --> 00:06:48,690
of the current line.

164
00:06:48,690 --> 00:06:50,910
If you want to go to the end of the current line,

165
00:06:50,910 --> 00:06:52,890
put the dollar sign in.

166
00:06:52,890 --> 00:06:56,070
If you want to move to the next word, press the W key.

167
00:06:56,070 --> 00:06:59,310
If you want to go back a word, press the B key.

168
00:06:59,310 --> 00:07:01,410
If you want to move to the end of the current word

169
00:07:01,410 --> 00:07:02,970
or to the end of the next word,

170
00:07:02,970 --> 00:07:04,650
if you're already at the end of your word,

171
00:07:04,650 --> 00:07:06,960
just press E for end.

172
00:07:06,960 --> 00:07:09,930
If you press Shift + L this'll move the cursor

173
00:07:09,930 --> 00:07:11,610
to the bottom of your screen.

174
00:07:11,610 --> 00:07:14,100
And if you use Shift + H it's going to move the cursor

175
00:07:14,100 --> 00:07:16,440
to the first line of your screen.

176
00:07:16,440 --> 00:07:20,160
If you press line number and Shift + G you'll move directly

177
00:07:20,160 --> 00:07:22,140
to that specified line number.

178
00:07:22,140 --> 00:07:24,480
If you press GG, you'll move the cursor

179
00:07:24,480 --> 00:07:26,610
to the first line of the file.

180
00:07:26,610 --> 00:07:28,770
If you press Shift + G by itself

181
00:07:28,770 --> 00:07:32,070
it'll move the cursor to the last line of the file.

182
00:07:32,070 --> 00:07:35,160
Now, in addition to using the H, J, K, and L keys

183
00:07:35,160 --> 00:07:37,440
to move side to side or up and down,

184
00:07:37,440 --> 00:07:40,830
you can also use the up, down, left, and right arrow keys.

185
00:07:40,830 --> 00:07:43,350
You also can use conventional navigation keys

186
00:07:43,350 --> 00:07:48,300
like Home and Page Up and Page Down inside of Vim.

187
00:07:48,300 --> 00:07:51,240
When you're doing editing operations in command mode,

188
00:07:51,240 --> 00:07:53,730
this is really some powerful things you can do

189
00:07:53,730 --> 00:07:56,610
to manipulate the text with really simple keystrokes.

190
00:07:56,610 --> 00:07:59,070
And it really shows the power of Vim.

191
00:07:59,070 --> 00:08:01,050
You can also use these things in combination

192
00:08:01,050 --> 00:08:04,560
with other motions to edit multiple characters at once.

193
00:08:04,560 --> 00:08:07,290
The X operator is going to delete the character selected

194
00:08:07,290 --> 00:08:10,860
by the cursor, where D is going to delete the text.

195
00:08:10,860 --> 00:08:13,890
DD will delete the entire current line.

196
00:08:13,890 --> 00:08:17,190
P will paste the text on the line below the cursor.

197
00:08:17,190 --> 00:08:19,530
Capital P will paste the text on the line

198
00:08:19,530 --> 00:08:21,630
directly above the cursor.

199
00:08:21,630 --> 00:08:24,240
The forward slash with a text string will search

200
00:08:24,240 --> 00:08:26,547
the document for that specific text.

201
00:08:26,547 --> 00:08:28,560
And a question mark with the text string

202
00:08:28,560 --> 00:08:30,570
will search backwards through the document

203
00:08:30,570 --> 00:08:32,669
for specific text as well.

204
00:08:32,669 --> 00:08:35,280
If you press Y that'll copy the text,

205
00:08:35,280 --> 00:08:39,240
and YY will copy the line directly above the cursor.

206
00:08:39,240 --> 00:08:42,780
If you type C, a range of lines, and another C,

207
00:08:42,780 --> 00:08:45,750
it's going to begin a change in the specific range,

208
00:08:45,750 --> 00:08:48,600
and U will undo your latest change.

209
00:08:48,600 --> 00:08:52,260
Capital U undoes all changes in your current line,

210
00:08:52,260 --> 00:08:54,810
and capital ZZ will write the file

211
00:08:54,810 --> 00:08:56,370
only if changes were made,

212
00:08:56,370 --> 00:08:58,950
and then it'll quit the Vim editor.

213
00:08:58,950 --> 00:09:00,990
Now a count is a number that multiplies

214
00:09:00,990 --> 00:09:03,480
the effects of keystrokes within Vim.

215
00:09:03,480 --> 00:09:05,670
It can be used in combination with motions,

216
00:09:05,670 --> 00:09:07,380
operators, or both.

217
00:09:07,380 --> 00:09:10,290
When used with a motion, cursor movement is multiplied

218
00:09:10,290 --> 00:09:12,720
according to the count specified.

219
00:09:12,720 --> 00:09:15,570
When using editing operations, the action gets repeated

220
00:09:15,570 --> 00:09:17,730
the number of times specified.

221
00:09:17,730 --> 00:09:19,980
Now another user-friendly text editor

222
00:09:19,980 --> 00:09:22,080
that evolved from the Pico text editor

223
00:09:22,080 --> 00:09:25,170
that was created for Unix-like systems is nano,

224
00:09:25,170 --> 00:09:27,930
also known as GNU nano.

225
00:09:27,930 --> 00:09:30,000
While Vim is a powerful text editor,

226
00:09:30,000 --> 00:09:32,100
it is not really the most user-friendly

227
00:09:32,100 --> 00:09:34,860
as evidenced by its multiple modes, its bare interface,

228
00:09:34,860 --> 00:09:37,890
and all those key stroke commands that I just listed.

229
00:09:37,890 --> 00:09:40,320
Know those are really that intuitive.

230
00:09:40,320 --> 00:09:42,690
Now on the other hand, the nano editor

231
00:09:42,690 --> 00:09:45,270
is much more visually helpful in that it displays

232
00:09:45,270 --> 00:09:48,540
its command shortcuts at the bottom of every open file.

233
00:09:48,540 --> 00:09:50,400
It also doesn't have different modes

234
00:09:50,400 --> 00:09:52,020
that you need to switch between.

235
00:09:52,020 --> 00:09:54,780
Despite these advantages though, nano does lack

236
00:09:54,780 --> 00:09:57,240
many of the features that makes Vim so powerful,

237
00:09:57,240 --> 00:10:00,570
like the split screen, text completion, syntax coloring,

238
00:10:00,570 --> 00:10:02,280
and some other features.

239
00:10:02,280 --> 00:10:04,110
The nano command can be called

240
00:10:04,110 --> 00:10:06,660
if you'd want to use it by just typing in nano

241
00:10:06,660 --> 00:10:08,190
at the command prompt.

242
00:10:08,190 --> 00:10:11,340
Automatically the command will open a new file for editing

243
00:10:11,340 --> 00:10:14,550
and you can later save this file with a specific name.

244
00:10:14,550 --> 00:10:16,920
You can also type nano and the file name

245
00:10:16,920 --> 00:10:19,560
if you want to open an existing file.

246
00:10:19,560 --> 00:10:22,530
If the file doesn't exist, nano will create that file

247
00:10:22,530 --> 00:10:24,120
using the name you just specified

248
00:10:24,120 --> 00:10:26,490
and open a blank file for you to edit.

249
00:10:26,490 --> 00:10:28,950
Like Vim, nano supports multiple files

250
00:10:28,950 --> 00:10:31,110
being open simultaneously.

251
00:10:31,110 --> 00:10:33,450
In GNU nano the functions you use

252
00:10:33,450 --> 00:10:35,550
will work with text editors and the editor itself

253
00:10:35,550 --> 00:10:37,740
are going to be referred to as shortcuts.

254
00:10:37,740 --> 00:10:39,840
Most of these are going to be activated by pressing

255
00:10:39,840 --> 00:10:42,000
the Control key, which is represented

256
00:10:42,000 --> 00:10:45,390
by the upper caret symbol or the Shift + six key

257
00:10:45,390 --> 00:10:46,680
inside the editor.

258
00:10:46,680 --> 00:10:48,750
Then you're going to press the key that corresponds

259
00:10:48,750 --> 00:10:50,940
to the function you're trying to perform.

260
00:10:50,940 --> 00:10:54,390
For example if I saw the upward caret G

261
00:10:54,390 --> 00:10:57,360
that would actually be used as a Control + G shortcut

262
00:10:57,360 --> 00:10:59,790
and it's used to open the nano help screen.

263
00:10:59,790 --> 00:11:02,520
If I use Control + X that's going to exit nano

264
00:11:02,520 --> 00:11:04,260
and close the current buffer.

265
00:11:04,260 --> 00:11:07,740
If I use Control + O it's going to save the currently open file

266
00:11:07,740 --> 00:11:09,660
or it's going to save the output.

267
00:11:09,660 --> 00:11:11,370
Control + J is going to be used

268
00:11:11,370 --> 00:11:13,590
to justify the current paragraph.

269
00:11:13,590 --> 00:11:16,140
Control + R is used to insert another file

270
00:11:16,140 --> 00:11:18,600
into the current one at that position.

271
00:11:18,600 --> 00:11:21,420
Control + W is used to search the file.

272
00:11:21,420 --> 00:11:24,810
Control + K is used to cut the currently selected line.

273
00:11:24,810 --> 00:11:28,320
Control + U is used to paste that line that you just cut.

274
00:11:28,320 --> 00:11:30,420
Control + C is going to be used to display

275
00:11:30,420 --> 00:11:32,190
the cursor's position.

276
00:11:32,190 --> 00:11:33,690
Like other text editors,

277
00:11:33,690 --> 00:11:36,270
you can navigate nano using your arrow keys,

278
00:11:36,270 --> 00:11:39,300
your Page Up, Page Down, Home and End keys,

279
00:11:39,300 --> 00:11:40,980
and other things like that.

280
00:11:40,980 --> 00:11:42,630
If you're missing any of these keys,

281
00:11:42,630 --> 00:11:44,610
nano also provides shortcuts for those,

282
00:11:44,610 --> 00:11:46,860
such as Control + V to go to the next page,

283
00:11:46,860 --> 00:11:50,010
or Control + Y to go back a previous page.

284
00:11:50,010 --> 00:11:52,740
Copying parts of the text on a line also requires you

285
00:11:52,740 --> 00:11:55,140
to mark that text that you want to copy,

286
00:11:55,140 --> 00:11:57,060
and you do that by using the Control

287
00:11:57,060 --> 00:11:59,100
and the upper caret symbol.

288
00:11:59,100 --> 00:12:01,020
Then you're going to navigate your cursor

289
00:12:01,020 --> 00:12:02,880
to highlight the text you want to copy

290
00:12:02,880 --> 00:12:05,730
and press Alt and that upper caret symbol.

291
00:12:05,730 --> 00:12:07,950
This will mark or highlight that text,

292
00:12:07,950 --> 00:12:10,500
and then you can use Control + U to paste it

293
00:12:10,500 --> 00:12:12,390
into another location.

294
00:12:12,390 --> 00:12:15,060
Another program we can use is gedit.

295
00:12:15,060 --> 00:12:18,180
Gedit is a text editor that is the default text editor

296
00:12:18,180 --> 00:12:20,250
inside the GNOME desktop environment

297
00:12:20,250 --> 00:12:22,440
which is a graphical user interface.

298
00:12:22,440 --> 00:12:25,020
And it's a member of the GNU project.

299
00:12:25,020 --> 00:12:29,490
Unlike Vim and nano, gedit uses a graphical user interface.

300
00:12:29,490 --> 00:12:31,620
And it has a typical menu-based design

301
00:12:31,620 --> 00:12:33,720
that makes it really easy to work with.

302
00:12:33,720 --> 00:12:37,530
If you use notepad in Windows or text edit in a Mac,

303
00:12:37,530 --> 00:12:38,610
you're probably pretty familiar

304
00:12:38,610 --> 00:12:40,680
with using something like gedit.

305
00:12:40,680 --> 00:12:43,170
It also has features like syntax highlighting

306
00:12:43,170 --> 00:12:45,180
and spell checking and it can be customized

307
00:12:45,180 --> 00:12:46,740
through different plugins.

308
00:12:46,740 --> 00:12:49,050
Although you can launch gedit from the desktop,

309
00:12:49,050 --> 00:12:51,360
you can also launch it from the command line interface

310
00:12:51,360 --> 00:12:53,040
using the gedit command.

311
00:12:53,040 --> 00:12:55,620
But again, you have to have a graphical user interface

312
00:12:55,620 --> 00:12:57,120
installed on your Linux system

313
00:12:57,120 --> 00:12:58,473
if you want to use gedit.

