Пост #270530 |
сохранен 23.08.2023 14:56
- Редактировать пост
- Печать
- Скачать
-
Сравнить с постом
#

1 2 3 4 5 6 7 8 9 | #!/bin/bash # List system accounts echo "System accounts:" cut -d: -f1 /etc/passwd | grep -E '^[^[:lower:]]' # List user accounts echo "User accounts:" cut -d: -f1 /etc/passwd | grep -E '^[[:lower:]]' |