>How to Change the Volume on Mac from Command Line [Tutorial]

>

Do you want to change the volume of your system from the command line? Well, There are many ways available using which you can change the volume on your Mac. You can use the command line to change the volume on your Mac. Simply follow the step by step instructions posted below using which you will be able to change the volume of your system from the command line.



How to Change the Volume of System from Command Line

STEP 1. Simply use the command given below to mute your Mac:

sudo osascript -e “set Volume 0″

STEP 2. Use the commend given below to get maximum volume:

sudo osascript -e “set Volume 10″

That’s it. You can put other numbers in place of 0 and 10 to get other sound levels. You should note you have to enter your root password because of the usage of ‘sudo’ which runs the osascript command as the administrator.

Advertisements

About nonerox

Btech Student
This entry was posted in MAC. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s