Formating Output
From mylearnings
- Prints only unique line.
<command> | uniq
- Sorts the lines.
<command> | sort
sudo docker images | awk -F ' ' 'NR==, NR==12 {print $3}'
- - sudo docker images => Prints the current docker images in the system.
- - -F ' ' => Field separation is set to space.