Take the second and third fields (separated by a colon) from the file /etc/passwd, take the first 10 lines, and replace all forward slashes with periods.
cut -d : -f 2,3 /etc/passwd | head -n 10 | tr '/' '.'