Tag Archive: terminal

Nov 13 2016

Mac OSX terminal command line for wifi

Show and List all your network adaptor networksetup -listallhardwareports   Turn off wifi on your macbook networksetup -setairportpower en1 off   Turn off wifi on your macbook networksetup -setairportpower en1 on   Scan and list the available wifi network /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport scan

Dec 25 2012

Cisco Router and PIX, show config command without pause or more

Cisco Router and PIX, show config command without pause or more Router: “terminal length 0” to stop the page breaks. “terminal no length 0” to resume them, or “terminal length 24“. Pix: “no pager” to stop the page breaks. “pager 24” to resume them.

Oct 23 2010

Wiping hard drive clean in linux

Two good methods of “clearing” your hard drive are: With a Ubuntu or Live CD and in a terminal do this: sudo dd if=/dev/zero of=/dev/XdY or sudo dd if=/dev/random of=/dev/XdY where XdY is the drive, i.e. sda, sdb, or hda, hdb, etc.