How can I give arguments to time command (ubuntu)
If you execute time
then (even though which time
will claim otherwise...) you execute the time
command of the shell. That version does not accept -v
. Instead, execute the proper time
executable: [source]
$ /usr/bin/time -v sleep 4
That will work.
Related videos on Youtube
jtiger
Updated on September 17, 2022Comments
-
jtiger over 1 year
I'm a new user to knockout.js and so far have been very impressed with basic use.
I want to be able to auto calculate a field (yr2 Expense) based on a previous field (yr1 Expense), but also allow the user to change the auto calculated field. This auto calculated field is then used for another calculation (Total Yr2). I've been trying to do so with this jsfiddle, but have had no luck so far. I can't find any info in the examples on how to do this.
I first tried making yr2 Expense an observable, which does not allow for auto calculation. I then tried making yr2 Expense a computed, which does not allow for Total Yr2 to be updated with user input. Is what I'm trying to do not possible? I would think this would be common in finance calculation forms, which is what I'm doing this for.
-
Derek 朕會功夫 almost 12 years
return this.opYr1Hoa();
Fun fun fun.
-
-
jtiger almost 12 yearsThanks, that works perfectly (the subscribers). I apologize for the terrible variable names, I'll be sure to watch out for that when working through the rest of this.