linux_ws2122/awk/02-aufgabe.sh

3 lines
111 B
Bash
Raw Normal View History

2021-10-13 17:25:16 +00:00
#!/bin/bash
awk -F ":" 'BEGIN {printf "user badname shell\n";} {printf "%s %s %s\n", $1, $5, $7;}' /etc/passwd