codeaprendiz.github.io

DevOps Essentials

View on GitHub

cut

NAME

cut - remove sections from each line of files

SYNOPSIS

cut [OPTION]… [FILE]…

DESCRIPTION

Print selected parts of lines from each FILE to standard output.

OPTIONS

EXAMPLES

$ df -kh .|cut -d'%' -f 1|awk '{print $NF}'|tail -1