Skip to content

Glossary: Command Line for IT: Bash and PowerShell

cut

Also written: cut -c

Picks parts of each line by fixed position. cut -c 1-10 keeps the first 10 characters, which is the date in an auth.log line.

Where the book teaches it

Related terms

awk