What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-02-02 02:05:14
show users in sudo group
grep -Po '^sudo.+:\K.*$' /etc/group Add solution -
Other 2021-10-14 13:53:03
How to grep for value in a key-value
$ grep -Po '(?<=^FOO=)\w*$' file foo Add solution -
Shell/Bash 2021-09-29 01:00:03
how to check super user in linux
grep -Po '^sudo.+:\K.*$' /etc/group Add solution
Best helpers
Ranking is empty