#Get current logged in user
userName=`ls -l /dev/console | awk '{ print $3 }'`
Technical professionals. Trusted advisors. Certified expertise.
#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
About AirPlay restrictions and Conference Room mode on your Apple TV
https://support.apple.com/en-us/HT202618
Apple TV Settings for the Classroom
http://learninginhand.com/blog/appletv
Get help with AirPlay and AirPlay Mirroring on your iPhone, iPad, or iPod touch
https://support.apple.com/en-us/HT204291
Recommendations
Follow these recommendations for the best possible AirPlay experience:
This could fix an issue using Apple Configurator 1 or 2
A Mac with USB 3.0 ports is configured to only see up to a certain number of USB devices.
The following terminal command removes that limit and allows the Mac to talk to as many devices as needed.
sudo nvram usb-options="%01%00%00%00"
To re-enable
sudo nvram -d usb-options
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.
sudo /usr/local/aw/start-server
sudo /usr/local/aw/stop-server
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.