GUI in MacOS for defaults?

Yes and no. Mac OS X doesn’t have a unified registry like Windows; instead, it stores preferences in individual .plist files. When you execute a defaults write command, it stores the change in ~/Library/Preferences. As an example, the command to change the Dock from the 3D glass look to a more basic 2D shade is: … Read more

Difference between ulimit, launchctl, sysctl?

1. ulimit This is a builtin command of your shell (bash/ash/zsh etc). It temporarily sets process limits for the current shell. This is not macOS specific by the way. 2. sysctl Most unix-like (Linux/*BSD/macOS) systems set global limit/kernel settings via the sysctl command /etc/sysctl.conf config file. Seems like macOS does not honor sysctl.conf on startup … Read more

How to access LVM partitions on OS X?

Yes, they can. see this article… Mac OS X Lion Adds CoreStorage, a Volume Manager (Finally!) What is a volume manager? Volume managers add flexibility to operating system allocation of storage, acting as a virtualization layer between disks and file systems. This is important, since modern computer systems need to maintain a consistent filesystem image … Read more

Why is “chroot” never used on Mac OS X?

There are two main categories of uses for chroot (the Wikipedia article goes into more detail): Isolate an application, providing it with a restricted view of the filesystem. This is commonly done for public FTP servers, for example, to make sure they won’t be able to serve files outside the public area even if there’s … Read more

What is your list of programs to install to Mac OS X after a fresh install?

Here’s my list: Firefox* Adium (IM Client | Multiprotocol)* JollysFastVNC (VNC Client)* X11* Xcode* Macports:* mtr* wireshark* iperf* NMap* Screen* Cyberduck (FTP, SFTP, WebDAV, Cloud Files & Amazon S3 Browser) iTerm Growl (GUI Notification system) HandBrake (Everyone loves to rip) Remote Desktop Connection 2.0* Bean (Powerful, yet tiny word processor) Screenlock SimplifyMedia (Share/Access your music … Read more

Routing WIFI and LAN for specific traffic

You shouldn’t need to create any routing rules by hand for that configuration, provided that all the 192.168.2.x addresses you want to communicate with are down the interface with the 192.168.2.x address. Go to System Preferences -> Network Select your Ethernet device, make sure “Configure IPv4” is set to “Manually”, that your subnet mask is … Read more