sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/Library/Desktop Pictures/Solid Colors/Solid Aqua Blue.png'" && killall Dock
Technical professionals. Trusted advisors. Certified expertise.
As Senior System Engineer at HCS, Keith wears many hats. He is responsible for a myriad of duties at HCS. From project management to taking out the trash, Keith is always willing to do the job at hand and never afraid to get his hands dirty.
Keith has the drive and ability to take a project full circle. He is obsessive when it comes to documentation and communication. He is a self-starter with the ability to think fast on his feet.
Keith has over 20 years in the IT Industry specializing in Apple Technology. He’s been a member of the HCS family since 2008.
sqlite3 ~/Library/Application\ Support/Dock/desktoppicture.db "update data set value = '/Library/Desktop Pictures/Solid Colors/Solid Aqua Blue.png'" && killall Dock
If you want to separate items in your dock with blank space, enter this command:
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
#Get current logged in user
userName=`ls -l /dev/console | awk '{ print $3 }'`
# Time Zone Setup
systemsetup -settimezone America/New_York
# Set to use Network Time Server time.apple.com
systemsetup -setusingnetworktime on systemsetup -setnetworktimeserver time.apple.com
This command will convert a signed configuration profile to xml 1 and send the output to a file named test.plist
security cms -D -i /Users/yourusername/Desktop/mySettings.mobileconfig > test.plist
There are time when you need to escape special characters in a bash script like dollar signs or backticks. If you ever need to quote an entire section of text in a bash script without having to escape all special characters, use the cat command with EOF in single quotes.
When EOF is enclosed in single quotes, it ignores any special characters and will not interpret them in your script.
The following command will print out the lines in between ‘EOF’ and EOF to the screen.
cat << 'EOF'
Lines with $signs are OK
Line with `backticks`
EOF
This is a handy command for your arsenal. Enjoy.
80 Orville Drive Suite 100
Bohemia, NY 11716
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.
65 High Ridge Road #510
Stamford, CT 06905
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.
3321 SW 194th Terrace
Miramar, FL 33029
Tel: (866) 518-9672
This email address is being protected from spambots. You need JavaScript enabled to view it.
218 Barksdale Drive
Broussard LA 70518
This email address is being protected from spambots. You need JavaScript enabled to view it.
4 Knollwood Place
Joliet, IL 60433
This email address is being protected from spambots. You need JavaScript enabled to view it.
10 Grosvenor Court
Rayners Road
London SW15 2AX UK
© Copyright 2023, HCS Technology Group. All Rights Reserved.