Skip to content

Commit

Permalink
Update Bash.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lanawwas authored Aug 30, 2023
1 parent 9af9b7a commit 98c0594
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@ mc

[Reference](https://linuxtect.com/how-to-select-all-in-vim-vi/)

#Then gg command is to move the cursor to the start of the file
### Then gg command is to move the cursor to the start of the file

```
gg
```


#The yy command is used to yank or copy the current line, but providing the line count can select and copy the number of lines specified
### The yy command is used to yank or copy the current line, but providing the line count can select and copy the number of lines specified

```
yy
```

#Select and Delete All Lines
### Select and Delete All Lines

```
:%d
```
#Select and Copy All Lines
### Select and Copy All Lines

```
:%y
```
#Go to the end of the file, use capital G
### Go to the end of the file, use capital G
```
G
```
Expand Down

0 comments on commit 98c0594

Please sign in to comment.