Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to add proxy to your command line linux

export http_proxy="http://proxypath.com:<port>"
export https_proxy="http://proxypath.com:<port>"

#example  
         export http_proxy="http://proxy.flagmaker.com:8080"
         export https_proxy="http://proxy.flagmaker.com:8080"
         
# use export for linux and set for windows      
Comment

Enable proxy in linux

You can set a proxy either from the GUI or from the command line. We will see how we can set a proxy from the command line. Open the /etc/environment file with your favorite text editor and add the following lines:

http_proxy="http://ip:port"

https_proxy="http://ip:port"

ftp_proxy="ip:port"

no_proxy="localhost"
Comment

PREVIOUS NEXT
Code Example
Shell :: change owner of directory mac terminal 
Shell :: install flask 
Shell :: bash shell remove recursive folder file rm dir 
Shell :: logrotate force rotation 
Shell :: OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) 
Shell :: apt imagemagick 
Shell :: how to restart x window manager in ubuntu 18.04 
Shell :: how to run .sh script in mac 
Shell :: how to delete directory 
Shell :: ssh server freebsd 
Shell :: bash single vs double quotes 
Shell :: how to check is heroku git remote is added 
Shell :: npm list versions of installed packages 
Shell :: how to get deployment token from firebase 
Shell :: download entire website Linux terminal 
Shell :: wsl zsh get ip 
Shell :: git commit and add in one command 
Shell :: bash check if string contains substring 
Shell :: afficher le contenu de la variable path 
Shell :: grep exclude 
Shell :: how to give permission to a user in linux on a folder 
Shell :: linux print system info 
Shell :: git add all files command 
Shell :: ubunto give permission for a user 
Shell :: windows terminal guid 
Shell :: pgadmin4 on docker 
Shell :: npm install --save-dev @angular/cli@latest 
Shell :: git checkout remote branch 
Shell :: check if a command exists 
Shell :: remove mongo lock file from centos 7 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =