Skip to content

Instantly share code, notes, and snippets.

View likair's full-sized avatar
🇫🇮

Likai R. likair

🇫🇮
View GitHub Profile
#!/bin/bash
echo "Proxy Environment variables:"
env | grep -i proxy
if [ $? -ne 0 ]; then
echo "No proxy settings found."
fi
echo '---------------------------------------------------------'
#!/usr/bin/env bash
# This script is used to unset proxy environment variables
# and proxy settings for gnome, apt and docker.
# Unset proxy environment variables
unset http_proxy
unset HTTP_PROXY
unset https_proxy
unset HTTPS_PROXY
#!/usr/bin/env bash
# This script is used to set proxy environment variables
# and proxy settings for gnome, apt and docker.
##############################################################
# Configuration (change these values to your proxy settings)
PROXY_HOST=
PROXY_PORT=
PROXY_PAC=