File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ vi abc.txt -- creates & opens the file in read only mode if the file is not exis
22
22
23
23
press ':q!' on keyboard -- to come out of the file forcefully without saving
24
24
25
- ## note: vi is an file editor, you can use any editor you like by installing it on your machine )
25
+ ## note: vi is a file editor, you can use any editor you like by installing it on your machine
26
26
```
27
27
28
28
### check / view the file contents
@@ -32,12 +32,14 @@ cat abc.txt -- writes the content of file into terminal & exits
32
32
```
33
33
34
34
```
35
- more abc.txt -- writes the content of file on terminal page by page ( to move to next page need to hit space bar on keyboard )
35
+ more abc.txt -- writes the content of file on terminal page by page
36
+
37
+ ##to move to next page need to hit space bar on keyboard
36
38
```
37
39
```
38
40
less abc.txt -- open the file on terminal & can be read line by line (use arrows to scroll up & down)
39
41
40
- to comeout need to press 'q' on the key board
42
+ ## to comeout need to press 'q' on the key board
41
43
```
42
44
43
45
### remove the file(s)
You can’t perform that action at this time.
0 commit comments