How can I give arguments to time command (ubuntu)

233

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.

Share:
233

Related videos on Youtube

jtiger
Author by

jtiger

Updated on September 17, 2022

Comments

  • jtiger
    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 朕會功夫
      Derek 朕會功夫 almost 12 years
      return this.opYr1Hoa(); Fun fun fun.
  • jtiger
    jtiger almost 12 years
    Thanks, 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.