BrT

Musings about technology and other neat stuff

BrT random header image

Bwana – I discovered this little gem of a utility today: essentially a handler for the "man:" url type, which pretty-formats the corresponding manual page and opens it in your web browser. Useful together with QuickSilver, you can for example type "man:ls", selec (tags: free macosx man opensource software tools unix )
(0)




How to emulate Unix’ getent with MacOSX’s dscl

January 21st, 2008 · 1 Comment

The Unix getent command does not exist in OSX. Starting from 10.5 (Leopard), the administrative databases have changed from Netinfo to DirectoryService, and the main tool for looking things in DS is dscl (see also this article at afp548.com).
For example, to query a user by UID with getent, you would run:

getent passwd <uid>

With dscl, you [...]

[Read more →]

Tags: · · ·