2 ms·
wouldn't it do so exponentially? The first time it does it once, the second time the statement is there twice so it does it twice, then 4, 8, 16, etc. ?
by VHRanger 5y ago
wouldn't it do so exponentially?
The first time it does it once, the second time the statement is there twice so it does it twice, then 4, 8, 16, etc. ?
- usrbinbash 5y agoNo, because; echo sleep 0.01 >> ~/.bashrc adds this to .bashrc; sleep 0.01 It doesn't add itself, so the sleep tie grows linear by 0.01sec each time a shell is opened.
- Tesl 5y agothe third time the statement is there three times ..
- happyopossum 5y agoNo, the entire statement isn't added each time, only the sleep portion.