top of page

Check TTFB from Ubuntu terminal

We can print the TTFB multiple times by using the below command in the ubuntu terminal.

for i in {0..3}; do echo -n "$i :: "; curl --resolve 'www.yoursite.com:443:your-ip' --output /dev/null -w "Response Code: %{http_code} :: Size: %{size_download} :: Speed: %{speed_download} :: TTFB: %{time_starttransfer} :: Total: %{time_total}\n" -s --show-error "https://www.yoursite.com"; done

In the above command, {0..3} means it checks TTFB 4 times, If you want to test 10 times, then change to {0..9}

 
 
 

Recent Posts

See All
Split file by line number - Ubuntu

We can run the below command to split the large file in Ubuntu. split --numeric-suffixes=1 --additional-suffix=.csv -l 100 original.csv...

 
 
 

コメント


Follow Me

  • LinkedIn
  • Twitter
  • Facebook
  • YouTube
  • Instagram

©2021 by Bilal Usean. Proudly created with Wix.com

bottom of page