Skip to content

Task 8 - Bash scripting #39

@gauthamzz

Description

@gauthamzz

Set Proxy for your system using bash script.
Given the script name is proxy.sh
proxy.sh help ==> should show help (or commands it can do)
proxy.sh set 4 ==> should change the proxy to 172.31.1.4
proxy.sh unset ==> should unset proxy

proxy.sh new 172.31.1.4 4 ==> should create a new proxy named 4
Should do at least the following

export http_proxy="http://172.31.1.4:8080"
export https_proxy=$http_proxy
export ftp_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export FTP_PROXY=$http_proxy

When done add proxy.sh as an alias.
submit same way as previous tasks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions