· 1 min read

How to Time Piped *nix Commands

If you want to time how long a piped bash command take, use the time command followed by your commands in parens like so..

time  (ls -lha | wc -l)

Comments

Leave a comment