Op 10-04-2024 om 09:39 schreef Paul van der Vlis via Info:
#!/bin/bash
#/usr/local/sbin/lm
lm2 | grep -v 'localhost> ' | cut -d/ -f2 | cut -d' ' -f1 | grep '@'
This is nicer:
lm2 | grep -v 'localhost> ' | cut -d/ -f2 | cut -d' ' -f1 | grep '@' \
sort -u | grep "$1"
With regards,
Paul
--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/
------------------------------------------
Cyrus: Info
Permalink:
https://cyrus.topicbox.com/groups/info/T5c3b723599f1c213-M6fce8073a434f19cff503dff
Delivery options: https://cyrus.topicbox.com/groups/info/subscription