Terminal files¶
Reading files¶
bat¶
cat
+less
+git
+ more
less
¶
-N
show line numbers- has syntax highlighting
Editing Files¶
Delete lines that match pattern¶
- Delete lines that match
- Used in [[work-aws]]
How to append to a protected file (with sudo)¶
- tee
- read from standard input and write to standard output and files (or commands).
Listening to files¶
Entr¶
Run arbitrary commands when files change
Last update:
2023-04-24