I want to list the username, id and group on /etc/passwd using the following format:
username uid gid
I have used the following:
cut -d: -f1,3,4 /etc/passwd
But it returns
username:uid:gid. How can I format the command to remove the
: or list without it, like this:
root 0 0 daemon 1 1 bin 2 2 ...