Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 30509

UNIX is both the underlying code and architecture that makes up Mac OS X / iOS as well as a way of interacting with a Mac using the terminal app, X11 app, and various shells like `bash` or `zsh`. Whether you're logging into a mac using `ssh`, using `mdfind` or `tmutil` or using other open source software, you are doing things very much in common with other UNIX operating systems and toolsets such as Linux, GNU, and many, many others too numerous to list.

0 votes

add a permanent static route in high sierra

Here is how I added a permanent static route: Create a script somewhere. vi ~/path_to_script add your route like so: add route 192.168.1.0/24 10.0.0.2 sudo visudo on the last line write username A …
Walrus the Cat's user avatar
7 votes
2 answers
28k views

add a permanent static route in high sierra

I'm adding a route to all 192.168.1.x ips through a gateway like so: sudo route add 192.168.1.0/24 10.0.0.2 . How do I add this route permanently in High Sierra?
Walrus the Cat's user avatar
4 votes
1 answer
797 views

Monitor connection status of VPN and reconnect if disconnected

I can connect to my VPN with : /opt/cisco/anyconnect/bin/vpn connect SERVER I can check the connection status with: /opt/cisco/anyconnect/bin/vpn status That gives a printout of Cisco AnyConnect …
Walrus the Cat's user avatar
3 votes
Accepted

Monitor connection status of VPN and reconnect if disconnected

here's how i did it: save the following to /usr/local/bin/vpn if [[ "{$(/opt/cisco/anyconnect/bin/vpn status)[0]}" == *"Disconnected"* ]]; then /opt/cisco/anyconnect/bin/vpn connect SERVER fi …
Walrus the Cat's user avatar