How to print your IP address with Bash on Mac OSX in the terminal app.

This one-liner will print the current LAN IP address of a machine running Macintosh OSX. jason@. PWD: ~. -bash. 3.2.57. 10 $> ifconfig | grep "inet " | awk ‘FNR==2{print $2}’ 192.168.1.2jason@. PWD: ~. -bash. 3.2.57. 10 $> ifconfig | grep "inet " | awk ‘FNR==2{print $2}’ 192.168.1.2 This is 10.14.2 (18C54), but this command … Read more

Just upgraded to OSX Mojave.

I have just upgraded a Macbook to OSX Mojave. This was very painless, and did not take very long at all. Upgrading a Macintosh machine is much easier than upgrading Windows 10, with all of the hassles and file deletion issues involved in that process. After the installation process, I had a new login screen, … Read more

How to install a Linux version of the SGI UNIX desktop on Fedora 25.

I just installed the Linux version of the SGI desktop on my Fedora 25 Linux machine. This was not too hard either. Download a copy of the installation script from here: http://www.maxxinteractive.com/site/?page_id=51. Run the script as root to download and install the MaXX desktop tarball. [root@localhost Downloads]# sh MaXX-Indy-1.0.0-Installer.sh   >>> Downloading MaXX Interactive Desktop … Read more

How to show the routing table on Linux with the bash command shell.

Netscape Navigator install floppies.

The netstat command may be used to show the routing tables for your network connection easily. Use the netstat -r command to achieve this. iMac05:~ admin$ netstat -r Routing tables   Internet: Destination Gateway Flags Refs Use Netif Expire default 172.18.31.1 UGSc 31 0 en0 127 localhost UCS 0 0 lo0 localhost localhost UH 0 … Read more

Cool Linux tricks and hacks for the desktop and server user.

Using the shellshock bash bug on an iMac. iMac04:~ admin$ env VAR1=’me() {echo "hello"}\ ‘ /bin/echo "hello" helloiMac04:~ admin$ env VAR1=’me() {echo "hello"}\ ‘ /bin/echo "hello" hello Getting free hard disk space easily. iMac04:~ admin$ df -Hla Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/disk0s2 89G 64G 25G 73% 15757422 6089307 72% … Read more

Plan9 from Bell labs. The alternative UNIX like OS that is a good way to learn about an OS.

The plan9 operating system from Bell labs is a UNIX like OS that is a fun way to learn about operating systems. The installation when using the text based installer is quite counter-intuitive but this is a good learning experience. There are amd64 packages available to install your system, I had problems when installing this … Read more