Skip to content

How to see who is connected to your iTunes share on a Mac

September 30, 2011

The following command will show you who is connected to your iTunes share on a Mac:

lsof -i | grep -i itunes | grep ">" | grep -v "http" | awk '{print $9}' | cut -d ">" -f2 | cut -d ":" -f1

From → Mac, Programming

One Comment
  1. synchro permalink

    This works wonderfully. I was able to see who was listening at work. Very cool.

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 )

Connecting to %s

Follow

Get every new post delivered to your Inbox.