Adding a empty space to Mac OS X Dock

Adding a empty space to Mac OS X Dock

Past the below code in the terminal to create the spacer

defaults write com.apple.dock persistent-apps -array-add ‘{“tile-type”=”spacer-tile”;}’

Then paste the below code in the terminal to restart the doc and show the created space.

killall Dock