To print 4th field using awk for the line containing 'dmitri' in /etc/passwd:
awk -F: '/dmitri/ { print $4 }' /etc/passwd
grep 'dmitri' /etc/passwd|cut -d: -f4