Posts

Showing posts from February, 2018

Most useful terminal commands

Below is a list of mostly helpful terminal commands you'd need to get on with your work. I'm planning to keep adding entries to this list later. Print environment variable echo $ E.g:  echo $PATH   would print the PATH variable value Mac Show current Xcode location xcode-select --print-path Print current path (working directory) pwd Perform Load testing (Using Apache AB) You can easily perform a simple load test using Apache AB. Macs come with apache AB installed. You can directly run from the terminal. ab -n  -c E.g:  ab -n 100 -c 5 http://www.google.com/