Skip to content

Instantly share code, notes, and snippets.

@ysinjab
Last active October 27, 2018 16:54
Show Gist options
  • Save ysinjab/b291fe9e04aa4d8a2ca1fc47fb20bcc6 to your computer and use it in GitHub Desktop.
Save ysinjab/b291fe9e04aa4d8a2ca1fc47fb20bcc6 to your computer and use it in GitHub Desktop.
ubuntu@ip:~$ awk -F':' '{ print $1}' /etc/passwd
root
daemon
bin
sys
sync
games
man
lp
mail
news
uucp
proxy
www-data
backup
list
irc
gnats
nobody
systemd-timesync
systemd-network
systemd-resolve
systemd-bus-proxy
syslog
_apt
lxd
messagebus
uuidd
dnsmasq
sshd
pollinate
ubuntu
ysinjab
ubuntu@ip:~$ sudo docker run -it ubuntu bash
root@4263b7da070e:/# awk -F':' '{ print $1}' /etc/passwd
root
daemon
bin
sys
sync
games
man
lp
mail
news
uucp
proxy
www-data
backup
list
irc
gnats
nobody
_apt
root@4263b7da070e:/#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment