Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 74a1637

Browse files
note on entr
1 parent 9483594 commit 74a1637

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Handy list of oft-used Linux commands that I will never remember. Not intended t
1515
- [fish](#fish)
1616
- [wget](#wget)
1717
- [Save current command to clipboard](#save-current-command-to-clipboard)
18+
- [entr](#entr)
1819
- [Networking](#networking)
1920
- [Port Monitoring](#port-monitoring)
2021
- [SSH 101](#ssh-101)
@@ -139,6 +140,15 @@ wget -r -np -R "index.html" -nH -e robots=off --cut-dirs=X <download_URL>
139140

140141
In `zsh`: <kbd>Ctrl</kbd> + <kbd>U</kbd> will cut the whole line (irrespective of your position). In `bash` and `fish`, it will cut backwards from your current position. <kbd>Ctrl</kbd> + <kbd>Y</kbd> will paste it back to the terminal.
141142

143+
### entr
144+
145+
Useful for watching file changes and running commands on files, e.g,
146+
147+
```bash
148+
ls *.md | entr -c glow todo.md
149+
```
150+
151+
will display the `todo.md` document in the terminal with `glow` and refresh every time the file is changed on disk.
142152

143153
## Networking
144154

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /