Enter your Mac’s administration password if required, then hit return.Type the command - sudo nano ~/.bash_profile.
Here is the setup to create alias commands: This is one time requirement, just set it up and use Alias every time you want to hide / show files: Below is the procedure to make the lengthy command lines to be executed in a single command: Later, you can just use that alias name as command any number of times. In this method you need to first setup the alias command for hiding and showing up the files on Mac Sierra. Well, an Alias is a simple shortcut for one or more commands. To undo this process, meaning to hide the files again the same above steps must be followed but with a modified Terminal command which is:
It seems like some of your files are hidden by default on Mac OS X Sierra.