≡ Menu

Mac OS X

Linux / Unix: Find and Delete All Empty Directories & Files

How do I find out all empty files and directories on a Linux / Apple OS X / BSD / Unix-like operating systems and delete them in a single pass?
[click to continue…]

Sysadmin because even developers need heroes!!!

Apple OS X: Remove a Symbolic Link (Symlink) Command

How do I remove a symlink under Apple Mac OS X using bash command line option?
[click to continue…]

Mac OS X: Delete SSH Keys Using Terminal Command Line

I have aws.sg.pub and ibm.sl.pub file for ssh login. How do I delete ssh key file called ~/.ssh/aws.sg.pub using the terminal on Apple Mac OS X?
[click to continue…]

Linux and Unix dig Command Examples

dig-command

I am a new Linux/Unix command line user. How do I use dig command line utility to query DNS (Domain Name System) servers on Linux and Unix-like operating systems? How do I use dig command to find the IP address of a host name or host Name of an IP address?
[click to continue…]

Mac OS X: Move the Dock and Menu Bar To External Display

I‘m using an external display with a MacBook Pro. I do not want to use the external monitor as a mirrored display. I need to move the dock and the menu bar to external monitor. How do I setup the external monitor as main display?
[click to continue…]

Apple OS X Lock Desktop / Screen

I need to prevent others using my desktop or laptop while I’m away from it. How do I lock my Laptop (Macbook or Macbook pro) / desktop using Mac OS X operating systems without using 3rd party applications?
[click to continue…]

Linux: HowTo See Directory Tree Structure

How do list contents of directories in a structure like format under Linux operating systems?
[click to continue…]

Restart Apache 2 In Mac OS X

How do I restart the Apache 2 Web Server under Apple OS X UNIX operating systems using bash command prompt?
[click to continue…]

Mac Os X: Mount NFS Share / Set an NFS Client

How do I access my enterprise NAS server by mounting NFS filesystem onto my Mac OS X based system using GUI and command line based tools?
[click to continue…]

Apple OS X: Write Protect File From Command Line

How do I make a File “unalterable” (write protect) such as it cannot be changed or deleted even by root or superuser under Apple OS X UNIX operating systems?
[click to continue…]