Little scripting syntax question
by binkyd from LinuxQuestions.org on (#5018Q)
If I run this script off the desktop, I get a pretty little notice of the IP I'm connected to, so I can check for VPN:
Code:#!/bin/bash
#Check-VPN-Connection
notify-send $(curl ifconfig.me)But I can't figure out how to include these other lines:
Code:abcdvpn status
abcdvpn settingsEverything I've tried results in absolutely nothing at all.
This is stumping me, (as usual), any help, really appreciated, please?


Code:#!/bin/bash
#Check-VPN-Connection
notify-send $(curl ifconfig.me)But I can't figure out how to include these other lines:
Code:abcdvpn status
abcdvpn settingsEverything I've tried results in absolutely nothing at all.
This is stumping me, (as usual), any help, really appreciated, please?