The Bashattack Blog

The Bashattack Blog

Technology. Food. Gaming. Videos. Anything. What more could you want?!

Posts filed under Technology

Show Hidden Files in Mac OS X

While trying to recover some files from the Library folder on my Time Machine Backup tonight I discovered that the Library is hidden by default in newer version of Mac OS X. There are two ways around this: 1) Use the Cmd+Shift+G shortcut to open the location of the Library folder. 2) Show hidden files. I chose option two.

Terminal code for Mac OS X: defaults write com.apple.finder AppleShowAllFiles YES killall FinderTo show hidden files in Mac OS X open the terminal and type in these two lines:

defaults write com.apple.finder AppleShowAllFiles YES
killall Finder

This will set the show all files flag to yes and restart Finder. Sick of seeing all those hidden files? Simply repeat the process above, replacing YES with NO.

Automatically Log In Users On Windows 7

I’m currently working on rolling out a series of PCs and Raspberry Pis to display an informational PowerPoint. (I’ll post a full write up on the Raspberry Pi project when I’m done.) On Windows one of the most important aspects of this is that it has to automatically log into a Windows desktop. Here’s the easiest way to set that up on Windows 7.

 

  1. Go to Run box (Win + R) and type in “control userpasswords2”.

User Accounts control userpasswords2

  1. Uncheck the box that says “Users must enter a user name and password to use this computer.”
  2. Hit Apply.

Automatically Log On

  1. A prompt will appear asking you to enter the user name and password for the account you want to be automatically logged in. Type this information into the box and hit OK.

The next time you reboot the computer will automatically log into this account. If there are multiple accounts on the computer you can simply choose to Log Out to be returned to the user selection screen.

Hope this helps with any projects you are working on!