Technical professionals. Trusted advisors. Certified expertise.

HCS Blog

Problem-solving by Apple Certified Professionals
Jul
01

How to get current logged in user from the Command Line.

#Get current logged in user


userName=`ls -l /dev/console | awk '{ print $3 }'`

Jul
01

How to set the time zone and network time server from the Command Line.

# 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

Jun
29

Apple TV Resources

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:

  • Apple TV should be connected to Ethernet if available.
  • Mount the Apple TV with the rubber side touching the surface it's mounted to.
  • Mount the Apple TV with few or no obstructions between it and the other device.
     Any objects between the two devices could interfere with the BTLE or Wi-Fi signals. Mounting the Apple TV in a cabinet, behind a TV, above a projector, or in the ceiling could degrade the signal between the devices.
  • If possible, avoid using Wi-Fi channels 149 and 153 in rooms where peer-to-peer AirPlay is frequently in use.
  • Though the devices will share air time fairly with the infrastructure network, removing any conflicting traffic from the room improves the stability of the AirPlay session. The fourth–generation Apple TV can also use an 80 MHz wide 802.11ac channel at 149,80 if the device streaming to it is also 802.11ac capable, though the increased throughput available with 802.11ac makes airtime contention less of a concern.



Official Link: http://help.apple.com/deployment/ios/#/apd8fc751f59

Jun
28

Mac with USB 3.0 Device Limits

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

Jun
22

Using the EOF (End of File) Command

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.

Jun
22

How to start and stop the PresSTORE P5 backup server from the command line.

sudo /usr/local/aw/start-server


sudo /usr/local/aw/stop-server

Locations


New York

Connecticut
Florida
Louisiana
Chicago

Corporate Headquarters
New York

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.

Connecticut

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.

Florida

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.

Louisiana

218 Barksdale Drive
Broussard LA 70518
This email address is being protected from spambots. You need JavaScript enabled to view it.

Chicago

4 Knollwood Place
Joliet, IL 60433
This email address is being protected from spambots. You need JavaScript enabled to view it.

London

10 Grosvenor Court
Rayners Road
London SW15 2AX UK

Stay Connected

© Copyright 2023, HCS Technology Group. All Rights Reserved.