Follow redirects using Curl
curl -L http://www.reqbin.com/echo
References
https://reqbin.com/req/c-bvijc9he/curl-follow-redirect
curl -L http://www.reqbin.com/echo
References
https://reqbin.com/req/c-bvijc9he/curl-follow-redirect
curl https://reqbin.com/echo -x myproxy.com:8080 -u login:password
References
https://reqbin.com/req/c-ddxflki5/curl-proxy-server
curl https://reqbin.com/echo -u "login:password"
References
https://reqbin.com/req/c-haxm0xgr/curl-basic-auth-example
curl --cookie "Name=Value" https://reqbin.com/echo
References
https://reqbin.com/req/c-bjcj04uw/curl-send-cookies-example
curl https://reqbin.com/echo/get/json -H "X-Custom-Header: value" -H "Content-Type: application/json"
References
https://reqbin.com/req/c-ea0d5rlb/curl-add-header-example
curl -k https://expired.badssl.com
References
https://reqbin.com/req/c-ug1qqqwh/curl-ignore-certificate-checks
curl https://reqbin.com/echo
References
https://reqbin.com/req/c-1n4ljxb9/curl-get-request-example
curl -X POST https://reqbin.com/echo/post/json -H 'Content-Type: application/json' -d '{"login":"my_login","password":"my_password"}'
References
https://reqbin.com/req/c-dwjszac0/curl-post-json-example
Disable Apport at Boot
sudo nano /etc/default/apport
In the apport file, lookup for a line that has the enabled value ‘1’ by default. Change this value to 0 so that the system does not start the apport service at boot.
Uninstall Apport
sudo apt-get purge apport
References
https://vitux.com/how-to-disable-enable-automatic-error-reporting-in-ubuntu/
Check if IPv6 is disabled
sysctl -a 2>/dev/null | grep disable_ipv6
Disabling IPv6 temporarily
sysctl -w net.ipv6.conf.all.disable_ipv6=1 sysctl -w net.ipv6.conf.default.disable_ipv6=1 sysctl -w net.ipv6.conf.lo.disable_ipv6=1
Disabling IPv6 Permanently
sudo nano /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6=1 net.ipv6.conf.default.disable_ipv6=1 net.ipv6.conf.lo.disable_ipv6 = 1
sysctl -p
References
https://www.thegeekdiary.com/how-to-disable-ipv6-on-ubuntu-18-04-bionic-beaver-linux/
https://www.golinuxcloud.com/linux-check-ipv6-enabled/
https://www.garron.me/en/go2linux/sysctl-linux.html