Linux bash &Python & Alias For Getting External IP
Page 1 of 1
Linux bash &Python & Alias For Getting External IP
example for
- Code:
curl ifcfg.me
alias this shell script
Setup
- Code:
sudo chmod +x ext_ip.sh
example usage:
- Code:
./ext_ip.sh
or
- Code:
bash ext_ip.sh
Or Alias with this command
- Code:
alias get_ip='curl ifcfg.me'
https://jnet.forumotion.com/t574-example-of-how-to-setup-an-alias-from-the-cli-on-linux?highlight=alias
Box Files
https://app.box.com/s/th1d3becpnjks6jz4knpfgyonbulw8p0
Forum Link
https://jnet.forumotion.com/t1130-linux-bash-python-alias-for-getting-external-ip#1514
Similar topics
» Example of how to setup an alias from the cli on linux
» linux networking with alias and multiple ips
» Bash Psychic Game For Linux Bash
» Linux BASH Script Running Commands and Functions From Bash Script and saving to varables
» Twitter API With Python On Linux TUT Example
» linux networking with alias and multiple ips
» Bash Psychic Game For Linux Bash
» Linux BASH Script Running Commands and Functions From Bash Script and saving to varables
» Twitter API With Python On Linux TUT Example
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|