Thoughts, stories and ideas.
aldora
  • Home
  • Converter
  • About
  • Archive
Subscribe

linux

Timing Request with cURL

We can use cURL to measure request time consumed during the whole process, such as DNS lookup, TCP handshake, SSL handshake time: curl https://www.aldoraweb.com/ \ -s --connect-timeout 5 \ -o /dev/null \ -w "%{time_namelookup} %{time_connect} %{time_appconnect} %{time_pretransfer} %{time_starttransfer} %{time_total}" | awk '{print "DNS
Aldora Lee Jan 6, 2023

Execute sudo without a Password

If you use terminal often, then you must face an annoying problem: you need to enter the password everytime when you want superuser access with the command sudo. So there is a way to solve it without sharing the root user access: add the user you log in as to
Aldora Lee Sep 18, 2022

Subscribe to aldora

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
aldora © 2023. Powered by Ghost