Technical professionals. Trusted advisors. Certified expertise.

HCS Blog

Problem-solving by Apple Certified Professionals

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.

Mar
06

Changing the default Umask on OS X Yosemite 10.10.3 or later

Enter the following command in Terminal:

sudo launchctl config user umask 000


Get info on other versions of OS X here:  https://support.apple.com/en-us/HT201684

0
  5667 Hits
Mar
06

Add Color to the ls command in Mac OS X

Open Terminal and type:

nano .bash_profile

At the bottom of your .bash_profile, add these lines and save the file.

NOTE:  If you use a Dark terminal theme, use this:

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced


NOTE:  If you use a Light terminal theme, use this:

export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad


Once your .bash_profile is saved, enter the command below:


ls -alh

The output should now be in different colors.

0
  5179 Hits
Mar
06

Use brace expansion to copy a file without having to type in the file name twice.

In this example, the file named “file1.txt” with be copied to a file named “file1.txt.bak” without having to type in the second file name.  This is done using brace expansion.

 In Terminal, enter the command below:

Continue reading
0
  4490 Hits
Mar
05

Generate ASCII Art in OS X

Download and Install figlet for OS X here: http://rudix.org/packages/figlet.html


Once installed, Open Terminal and enter: figlet HCS (or whatever text you want)

The ASCII Art will be generated for you.  You can also: man figlet to view the man page for more options.

0
  4600 Hits
Mar
05

Switch to root user in terminal and be in root users home

sudo -i   

This will give you root access and switch the home folder to the root user.  

Continue reading
0
  4377 Hits
Mar
05

Create a new user from the Command Line - Yosemite and above.

If you're running OS X Yosemite and above, you can use the new "sysadminctl" command to easily create users from the command line.

sudo sysadminctl -addUser keith -password mypassword

Continue reading
0
  5006 Hits

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.