Skip to content

Commit fdc66b7

Browse files
author
lerndevops
authored
Update file-operations.md
1 parent 874ff01 commit fdc66b7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

linux/basics/file-operations.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ vi abc.txt -- creates & opens the file in read only mode if the file is not exis
2222
2323
press ':q!' on keyboard -- to come out of the file forcefully without saving
2424
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
2626
```
2727

2828
### check / view the file contents
@@ -32,12 +32,14 @@ cat abc.txt -- writes the content of file into terminal & exits
3232
```
3333

3434
```
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
3638
```
3739
```
3840
less abc.txt -- open the file on terminal & can be read line by line (use arrows to scroll up & down)
3941
40-
to comeout need to press 'q' on the key board
42+
## to comeout need to press 'q' on the key board
4143
```
4244

4345
### remove the file(s)

0 commit comments

Comments
 (0)