Skip to content

Commit

Permalink
something new: 2024-12-27 10:57:02
Browse files Browse the repository at this point in the history
  • Loading branch information
pew committed Dec 27, 2024
1 parent 7bc9cc6 commit 46e769c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion man/grep.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
date created: Thursday, December 26th 2024, 11:41:09 am
date modified: Thursday, December 26th 2024, 11:41:35 am
date modified: Friday, December 27th 2024, 10:56:02 am
tags:
---

Expand All @@ -13,3 +13,11 @@ tags:
```shell
systemctl list-unit-files | grep -E "bluetooth|dbus"
```

## find only lines which do not start with `#`

useful to only see configured settings in config files etc., it'll also omit empty lines:

```shell
grep -vE '^#|^$' filename
```

0 comments on commit 46e769c

Please sign in to comment.