sajad torkamani
On this page

Syntax

<your_command> | awk '{print $NF}'

Example

ls -l | awk '{print $NF}'

Tagged: Bash