Skip to content

Instantly share code, notes, and snippets.

@mmehdinasiri
Last active December 12, 2019 15:25
Show Gist options
  • Save mmehdinasiri/d00345f40dfbb108d04afa7ba50ebd7b to your computer and use it in GitHub Desktop.
Save mmehdinasiri/d00345f40dfbb108d04afa7ba50ebd7b to your computer and use it in GitHub Desktop.
save the output of a command to a file:
SomeCommand > SomeFile.txt
SomeCommand >> SomeFile.txt (append)
//opne openvpn
sudo openvpn --config /etc/openvpn/vpnbook-udp-53.ovpn --auth-user-pass /etc/openvpn/password.txt
// make alise in .bashrc
alias vpn='openvpn --config /home/mehdi/MySystemFile/USA_UDP.ovpn'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment