FG

How can I give arguments to time command (ubuntu)

Fresh3 days ago
Mar 15, 20269191 views
Confidence Score0%
0%

Problem

I want to get a bit more information than the standard time command gives, so I want to pass the verbose flag. gives as example , however when I execute that (both in bash or tcsh) I get What am I doing wrong?

Error Output

% time -v sleep 4
-v: Command not found.
0.000u 0.000s 0:00.00 0.0%  0+0k 0+0io 0pf+0w

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I give arguments to time command (ubuntu)

Low Risk

If you execute then (even though will claim otherwise...) you execute the command of the shell. That version does not accept . Instead, execute the proper executable: [source] That will work.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment