-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<p align="center"> | ||
<a href="https://smartproxy.com/"><img src="https://snipboard.io/3IyORg.jpg"></a> | ||
</a> | ||
</p> | ||
|
||
<p align="center"> | ||
<a href="https://github.com/Smartproxy/Smartproxy"> :house: Main Repository :house: </a> | ||
</p> | ||
|
||
## What is a shell? | ||
A shell is a program used to execute other programs through text commands. Windows operating systems use shells like **Command Prompt** or **PowerShell**. Linux and macOS use **Bash**, **Zsh**, or **Dash**. Each shell has its own syntax and features, although they generally provide similar functionality for interacting with the operating system. | ||
|
||
## Prerequisites | ||
Most operating systems come with at least one shell pre-installed by default. You can install a different shell if you prefer a different interface or a set of features. | ||
|
||
You should also have a [Smartproxy account](https://dashboard.smartproxy.com/register) with access to the [dashboard](https://dashboard.smartproxy.com/residential-proxies/proxy-setup) to get your credentials and endpoint information. | ||
|
||
## Installation | ||
|
||
To use the shell script file, follow these steps: | ||
|
||
1. Open the Command Prompt/Terminal. | ||
1. Create your project directory using the `mkdir shell_example` command. | ||
2. Navigate to your project folder using the `cd shell_example` command. | ||
3. Execute the following command to download the example file: | ||
|
||
`curl https://raw.githubusercontent.com/Smartproxy/Smartproxy/master/shell/shell.sh > shell.sh` | ||
|
||
<img src="https://imgur.com/xyU7sEd.png" alt="curl smartproxy ruby code sample"> | ||
|
||
4. You should see a new file named `shell.sh` in your project folder. Open it using an editor of your choice. | ||
|
||
5. Set your username, password, and endpoint information you'd like to use and enter them in the following sections of the script: | ||
|
||
<img src="https://i.imgur.com/fNQyXgp.png" alt="smartproxy proxy username password authentication"> | ||
|
||
## Usage | ||
|
||
To execute the shell example, simply copy it and run it in your shell. | ||
You should see the IP details from the target website in the console window if everything was set up correctly: | ||
|
||
<img src="https://i.imgur.com/WOgLXZj.png" alt="smartproxy successful connection example"> | ||
|
||
## Need help? | ||
Email - sales@smartproxy.com | ||
|
||
<a href="https://direct.lc.chat/12092754/">Live chat 24/7</a> | ||
|