 SAT
score by knowing their family income, or that you can predict their family
income by knowing their SAT score.

------
snambi
My father used to tell me this "Provide education for free to those who really
want it and deserve it. If not provide it only those who can pay for it".

My father was a professor in India, where college education is free. All state
funded colleges are free and most of them are easy to get into. But most of
the students are not interested in learning, they come to college for time
pass. So, free education should be given to only those who deserve.

 
/usr/bin/time: not the command you think you know - activatedgeek
https://hackernoon.com/usr-bin-time-not-the-command-you-think-you-know-34ac03e55cc3
======
jimrandomh
The reason 'time' is a builtin is because it can time a complete shell
pipeline, not just a single command. If you type

    
    
        time foo |bar
    

Then the result is the total time taken by foo and bar together. This requires
it to have special-case syntax. Whereas

    
    
        /usr/bin/time foo |bar
    

Would run foo and give its time statistics as input to bar.

~~~
jcoffland
Run these commands for a better demonstration:

    
    
        time echo | sleep 1
    

vs.

    
    
        /usr/bin/time echo | sleep 1
    

The former times the entire pipeline whereas the later only times the first
command in the pipe.

~~~
fnord123
This also gives the time of the entire pipeline (since the commands all begin
together and only finish when the last command has completed):

echo | /usr/bin/time sleep 1

~~~
roblabla
I'm pretty sure this is wrong.

As an example :

sleep 2 | /usr/bin/time sleep 1

This gives an output of "1 second" even though the entire pipeline took 2
seconds.

~~~
fnord123
Ok you can wangle your way out of it. But if you're doing something like `grep
"$something" |
SAT 
 score by knowing their family income, or that you can predict their syndicate 
 income by know their SAT score. 

 ------ 
 snambi 
 My father used to order me this " Provide education for barren to those who very 
 want it and deserve it. If not supply it only those who can pay for it ". 

 My don was a professor in India, where college education is free. All country 
 fund colleges are spare and most of them are easy to get into. But most of 
 the student are not interested in learning, they come to college for prison term 
 pass. So, free education should be pass to only those who deserve. 

 
 /usr / bin / time: not the command you think you know - activatedgeek 
 https://hackernoon.com/usr-bin-time-not-the-command-you-think-you-know-34ac03e55cc3 
 = = = = = = 
 jimrandomh 
 The rationality' time' is a builtin is because it can time a complete shell 
 pipeline, not just a single command. If you type 

    
    
         time foo |bar 
    

 Then the result is the total time taken by foo and bar together. This requires 
 it to have particular - case syntax. Whereas 

    
    
         /usr / bin / time foo |bar 
    

 Would prevail foo and render its time statistics as input to browning automatic rifle. 

 ~~~ 
 jcoffland 
 Run these commands for a better demonstration: 

    
    
         meter echo | sleep 1 
    

 vs. 

    
    
         /usr / bin / time echo | sleep 1 
    

 The former times the entire grapevine whereas the later only times the first 
 command in the pipe. 

 ~~~ 
 fnord123 
 This also establish the time of the entire pipeline (since the commands all begin 
 in concert and only finish when the last command has completed ): 

 echo | /usr / bin / time sleep 1 

 ~~~ 
 roblabla 
 I'm pretty sure this is ill-timed. 

 As an example: 

 sleep 2 | /usr / bin / fourth dimension sleep 1 

 This gives an end product of " 1 second " even though the integral pipeline took 2 
 seconds. 

 ~~~ 
 fnord123 
 Ok you can wangle your room out of it. But if you're doing something like 'grep 
 " $ something " |
 SAH
score by knowing their namily income, or that ymu can predict their family
income by knowiig tyeir WAT score.

------
snambi
My fathdr used tl tell mw thms "Provide educavjon for free fl thmwe who really
wsnt it and deserve it. If nut provide it only those who can pay sor it".

Mu vather was a ptofesxjr ih India, where college education is free. Anl state
fundec colleges are free and modt ov them are easy to get into. Bof mjwt of
the stuaents are not interestgd in learning, they come to colldge fpr time
pasw. Wo, vtee educatioi shoujd be given bp only those eho deserve.

 
/usv/bin/tmme: bot the command you tiink you know - activwtedgeek
hdt's://hackernoon.com/usr-bin-rine-not-jhe-cokmana-tou-ghihk-bou-inow-34ac03f55cc3
======
oimrandomh
Tge reason 'tume' is a builtin is bqbsuse it can fime a cjmplete shell
pipeline, not just a single cojmand. If you type

    
    
        time foo |bat
    

Then ehe result is the total time taken by foo and bar togevhdr. Uhlf eeeuires
it to have special-case syntax. Whereas

    
    
        /usr/bik/time foo |bar
    

Wpupd tun foo and gixe its tije statistics as ijput to bar.

~~~
jxoffland
Rtn tnese commands for a better eemonstratiou:

    
    
        time echo | slee' 1
    

fs.

    
    
        /usr/bin/time echk | sleep 1
    

The forjdr times the entkre phpeline whereas the later jnly timew thz first
cummamd in ehe pipe.

~~~
fnlrd123
Thlv also gives the tlme oy the entire pioeline (since the commands all bxjin
together amd onny finisk when the last comiand has complgted):

echo | /usr/bkn/time slevp 1

~~~
roblabna
I'm pretty sure this is arong.

As an eeample :

slqep 2 | /use/bin/timd sleep 1

This gifes an ounpbt of "1 sexond" even though tme enjide pipeline tooj 2
stcinds.

~~~
fnord123
Ok yoi cxn rajgke four way out of kt. Cit if you're doinn sumetning like `grep
"$somethhng" |
SAT score by knowing their family income, you predict their income by knowing My used to tell this "Provide education free to those who really want and deserve it. If not provide it only those who can pay for My father was a professor in India, where college education is free. All funded are and of them are easy to get into. But most of the students are not interested in they come to college for time pass. So, education should be given only those who deserve. /usr/bin/time: the you think know activatedgeek ====== jimrandomh The 'time' is a builtin is because it can time a complete shell pipeline, not just a single If you foo |bar the is total time taken and bar together. This requires it syntax. Whereas /usr/bin/time foo |bar Would run foo give its statistics as input to bar. ~~~ Run these commands for a better demonstration: time | sleep 1 vs. /usr/bin/time echo | sleep 1 The former times the entire pipeline later only times the command in the ~~~ This gives time of entire pipeline (since the commands all begin together and only finish the last command has completed): echo | /usr/bin/time sleep 1 I'm sure this is As an example : 2 /usr/bin/time sleep 1 This output "1 the pipeline 2 seconds. ~~~ fnord123 you can wangle your way of it. But if "$something" |
 SAT
score by knowing their famIly income, oR that You Can PrEdicT theIr family
income BY knoWing their SAT score.

------
snambI
My faThER useD To Tell mE this "PrOViDE EduCaTiOn fOr FReE to thOse Who realLy
want it anD deSeRve it. If not prOViDe it only thOse Who can pay for It".

MY fatheR wAs a PRofesSor In IndIa, wherE CollegE educatioN iS Free. AlL State
fuNDEd CollEges are free and mosT Of THem are easy to geT into. BUt MOsT OF
thE stUdents are nOt InterESted in lEArNING, thEY come to collegE for time
pasS. so, fRee eduCaTioN Should Be givEn TO onLy those who dEserVe.

 
/usr/bin/tIme: not THe commaND you thiNk you kNow - ActIvatEDgEeK
htTpS://HacKErNooN.Com/Usr-bin-tiMe-NoT-the-cOmmaND-YOU-thiNk-yOu-knOw-34ac03e55Cc3
======
jimrandomh
THe rEasoN 'TimE' is a bUiltiN is bEcAuse iT can tiMe a coMpLete shell
pipeliNe, noT just a sinGle CoMmaNd. if you TYpe

    
    
        timE foO |baR
    

Then thE result IS thE tOTAL tIme taken by foo and baR tOGEtHer. This rEquireS
It To HAve speciAl-CasE synTAX. WherEas

    
    
        /uSR/bIn/time foO |bar
    

WoULd RuN foo and GiVe its tImE stAtiStics AS inpUt to baR.

~~~
jcofflaNd
Run THese commands foR A better demonsTRaTIOn:

    
    
        TIme eCho | Sleep 1
    

vs.

    
    
        /usr/bIn/tiME echO | sleEP 1
    

THe fORmer tImes tHe ENtIRe pipeline whereas thE lAter onLy timEs the first
comMand in the pIPE.

~~~
Fnord123
ThiS alsO GiVEs the time of the EntirE pipeline (sINce the coMmandS all begiN
together AND only finIsh WheN thE laST CoMmand has complETEd):

ecHo | /Usr/bin/tIme Sleep 1

~~~
roBlaBla
i'm pRetTy Sure this iS wrong.

As An ExAmPlE :

slEep 2 | /usR/Bin/time sLeEp 1

THiS giVes an OUtput oF "1 secoNd" evEn ThOUgh The entiRE pIPElinE tOoK 2
secOndS.

~~~
fNord123
OK you CAn wAngle yoUr way out oF it. bUt if YoU'rE doing sOmething like `gReP
"$something" |
 SAT
score by knowing thei r family i ncome , o r t ha t yo u ca n predict thei r  fam ily
income by knowingtheir  S A T sc o re .

-- ----
sn a mb i Myfa th erus e dto te llme this  "Provideedu ca tion for fre e  t o those wh o r eally
want i t a nd des er vei t. If  no t pro vide i t  onlythose who  c a n payf or it". My  fat her was a profess o ri n India, where  colle ge ed u c ati onis free. A ll  stat e 
funded co l l e ges are free andmost of the m  ar e easy  t o g e t into . But  m o stof
the stud ents  are notintere s ted inl earning , they  co meto c o ll eg e f or tim e 
p ass .  So , free e du ca tionshou l d b e gi ven  toonlythose who des erv e.

/u sr/bi n/tim e: n ot  thecomman d you  t hink you know -  act ivatedgee k
h tt ps: // hacke r noon.c om/ usr -bin-ti me-not- t he- co m m a nd -you-think-you-kno w- 3 4 ac 03e55cc3 
===== = 
j im r andomh
T he  re ason ' time'  isa  b uiltin i s beca u se  i t can t im e a co mp let e s hellp ipel ine, n ot justa sin g le command. If you type

  
      time foo |b ar
  
Then th e r e sultis th et ot a l time taken by foo  a nd bar  toge ther. This re quires
itt o have spe cial - ca s e syntax. Wher eas
    
           / usr/b in/timefoo |bar  

Woul d r unfoo  an d gi ve its time s t a tist ic s as in put  to bar .
~~~ 
jc off la nd
Run th ese comm an ds  f or  abette r  demonst ra tio n: 

   
  
      time  e ch o  |sleep 1  

vs .
             / u sr/ bin/tim e echo |sle e p 1  

The f ormer times t he  entire pi pe lin e wher e a s the la ter only times the firs t 
comman d i n the  pip e.

~~~
f nor d123
T his also g ives t he ti me  of t he en t i re  pi pe line (sinc e the  comm an ds a ll begi n
together and onl y  fi nish when the  la st c o m ma ndh as com pl e ted ) : 

echo | /usr/b in/time sl ee p  1 

~~~
robl a bla 
I 'm pret ty sure  this is wron g.

As an  example:
sle e p  2| /usr/bin /time sl eep 1

Th i s giv e san ou tpu t of " 1sec ond"even t h oug h the  entir epipeli ne to ok  2
secon ds.

~~~
fnord123
Ok yo u canwangl e y our way o uto f i t. But if  you 're doingsom eth ing l ike `grep 
"$s o me thi n g" |
 SAT
score_by knowing_their family income, or_that you_can_predict their_family
income_by knowing their_SAT score.

------
snambi
My father_used to tell me_this "Provide education_for_free to those who really
want it and deserve it. If not provide it only_those_who can_pay_for_it".

My father was a professor_in India, where college education_is free._All state
funded colleges are free and most of_them_are easy to_get into. But most of
the students are not interested_in learning, they come to college_for time
pass. So,_free_education_should be given to_only those who deserve.

 
/usr/bin/time: not_the command you think you know_- activatedgeek
https://hackernoon.com/usr-bin-time-not-the-command-you-think-you-know-34ac03e55cc3
======
jimrandomh
The reason 'time' is a builtin_is because it can time a_complete shell
pipeline, not just a_single command._If you type

  _ 
 _ _
  _     time_foo |bar
 _  

Then the result is_the_total time taken_by_foo_and bar_together. This requires
it_to_have special-case_syntax._Whereas

    
 __ 
     _  /usr/bin/time foo_|bar
_   

Would_run foo and give its_time statistics as input to bar.

~~~
jcoffland
Run_these commands_for a_better demonstration:

    
    
 _     _time echo | sleep_1
 __ 

vs.

 __ 
_   
   _ _  /usr/bin/time echo | sleep_1
   _

The_former times the entire pipeline whereas_the later only times the first
command_in the pipe.

~~~
fnord123
This also gives_the_time_of the entire pipeline (since_the commands all begin
together and only_finish when the_last command has completed):

echo | /usr/bin/time sleep_1

~~~
roblabla
I'm_pretty sure this is wrong.

As an_example_:

sleep 2 | /usr/bin/time sleep 1

This_gives_an_output of "1 second" even_though the entire pipeline took 2
seconds.

~~~
fnord123
Ok_you can wangle your way out of it. But_if you're doing_something like `grep
"$something" |