Merge pull request #355 from shigemk2/curl-only-status-code

Add cheatsheet for cp backup file with date
This commit is contained in:
Chris Allen Lane 2017-11-19 08:11:35 -05:00 committed by GitHub
commit 89de3705b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -36,3 +36,6 @@ curl --limit-rate 1000B -O http://path.to.the/file
# Get your global IP
curl httpbin.org/ip
# Get only the HTTP status code
curl -o /dev/null -w '%{http_code}\n' -s -I URL