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.
Glossary: Command Line for IT: Bash and PowerShell
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.