VI quick reference
Introduction vi pronounced as ” vee eye ” is a unix editor available on almost all the unix operating systems , solaris , bsd ,aix , hpux etc. This document is a quick reference to vi editor and will be...
Knowledge is Power
Introduction vi pronounced as ” vee eye ” is a unix editor available on almost all the unix operating systems , solaris , bsd ,aix , hpux etc. This document is a quick reference to vi editor and will be...
Source: https://developer.xamarin.com/guides/cross-platform/getting_started/installation/uninstalling_xamarin/#Uninstall_Xamarin.Mac Uninstall script – xamarin_uninstall.sh #!/bin/bash # This is a simple script to uninstall Xamarin from your machine. # Uninstall Xamarin Studio rm -rf “/Applications/Xamarin Studio.app” rm -rf ~/Library/Caches/XamarinStudio-* rm -rf ~/Library/Logs/XamarinStudio-* rm -rf ~/Library/Preferences/XamarinStudio-* rm -rf ~/Library/XamarinStudio-* # Uninstall...
less packs more power than “more” or “tail” commands tail -f like functionality Usage: $ less +F file.log If only $ less file.log is invoked pressing F will switch back to mode similar to tail -f Enable row number -NR inside less enables...
So you done everything right and can’t connect Excel to Hive using ODBC driver on your macOS? Let’s see what is going on. Are you running El Capitan on Sierra? Well I was running Sierra and tried connecting before while...
Add below lines to file ~/.ssh/config Host * ServerAliveCountMax 3 ServerAliveInterval 10 TCPKeepAlive yes The first line specifies that this applies to all hosts The second and third specify that SSH2 keepalive messages should be sent every 10 seconds during...
Fetch DNS servers list networksetup -getdnsservers Wi-Fi Set DNS servers list Format: networksetup -setdnsservers (Network Service) (DNS IP list) networksetup -setdnsservers Wi-Fi 208.67.222.222 208.67.220.220 8.8.8.8 8.8.4.4 References: How to Change DNS from Command Line of Mac OS X Related posts: MAC terminal...
Something that is very much desired while working on shell. I love to have this feature of $ssh ser[TAB] Using brew is my preferred way, just type in – $brew install bash-completion Do not forget to add the text in...
At times we are working in an internet less environment. So, here are a few things we can do, Make the scripts available over a local http server Change scripts for any http://internet-address/ to http://local-address Making scripts available on local $...
# Stubborn wifi fix for the impatient (El Capitan & Sierra) sudo rm /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist sudo rm /Library/Preferences/SystemConfiguration/com.apple.wifi.message-tracer.plist sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist sudo rm /Library/Preferences/SystemConfiguration/preferences.plist Source: http://osxdaily.com/2015/10/16/fix-wi-fi-problems-mac-os-x-el-capitan/ Though Apple has largely resolved the wi-fi issues that persisted in some Macs...
Important – iTerm shell integration Shell integration should be installed on all remote hosts Connections to non standard ssh port (other than 22) can be setup in ~/.ssh/config. Format below Host www.adhocshare.tk HostName 192.168.80.200 Port 10527 Iterm2 bash prompt...
More