Tag: Mac

OS X Password Generator in BASH

How do I generate random passwords on the command line using the terminal we have 2 options installing pwgen or add Bash function to create random password

Install pwgen (use Homebrew)

$ brew install pwgen

Add the following to your ~/.bash_profile

genpasswd() {
local l=$1
[ “$l” == “” ] && l=16
LC_ALL=C tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${l} | xargs Read More

Apple 1sold

Apple’s first computer called Apple 1, sold at Sotheby‚Äôs auction for $374,500. The Apple 1 was made in 1976 by Steve Wozniak. Sold for $666.66 with fully assembled circuit board.