2
votes
4answers
2k views

What is the OS X / BSD equivalent of the GNU “ps auxf” command?

In the GNU utils, ps auxf gives the process list with forest (tree). Is there a equivalent for this command at BSD / OS X systems?
2
votes
3answers
70 views

Networking OSX BSD Book Commands [closed]

I am looking for a good source (book, online) of networking on mac osx or linux. What commands, how to connect, send data, security (checking for intruders) etc.. Setup server. Thanks for the time.. ...
1
vote
4answers
566 views

Ideal Linux/BSD distribution to emulate Mac OS X

I've recently moved to a Mac OS X workstation. I am doing my best to stick to the command line, but am wary of corrupting my system. Is there a BSD distro that I can throw in a VM to experiment with? ...
1
vote
3answers
764 views

What's the shortest command to find a volume's BSD device name ( /dev/disk*s* )?

What's the easiest way to find out that, for example, /Volumes/Foo lives in /dev/disk0s2 ? EDIT: mount is probably a more semantically satisfying answer, but it doesn't get much shorter than df
1
vote
4answers
2k views

How do forward/reverse lookups differ between “nslookup,” “dig,” and “host”?

How are "nslookup," "dig," and "host" different (in terms of looking up hostnames or IP addresses)? Which authorities are queried? I'm trying to figure out when I should use one over the others.
9
votes
5answers
2k views

Why do you have to create a directory before you can mount a share?

Why do you have to create a directory before you can mount a share to it? Eg: I've never understood why mkdir is needed here: mkdir /Volumes/foo mount -t afp afp://username:pass@pretendco.com/foo ...