sajad torkamani

Syntax

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

Example

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