View Single Post
Old 30th September 2011
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by CyberJet View Post
Can you please explain how to set the sysctl net.inet.ip.multipath=1with the dollar sign. I have this enabled on sysctl.conf and set to 1 but I don't understand the $.
The dollar sign denotes a user account's shell prompt. This is to be distinguished from the hash or pound sign which which denotes the root account. The difference between '$' and '#' are to point out whether the following command needs to be run as root (through sudo(8) or su(1)...) or whether a generic user account is sufficient.

As examples, to view how net.inet.ip.multipath is set, simply issue the following command from a user account:

$ sysctl net.inet.ip.multipath

In comparison, disk partitioning can only be viewed with root permission:

# disklabel wd0

In both of these examples, neither '$' nor '#' are typed at the shell prompt. They denote the shell prompt & necessary permissions.

This same convention is used throughout the official FAQ.
Reply With Quote