Mac OS X defaults to hiding the users Library directory. No doubt, this was changed to keep novices from deleting necessary system files. Those that wish may show the ~/Library with the following command from Terminal. chflags nohidden ~/Library/ If you wish to return to default settings you can hide the ~/Library with the following ..

Read more

My work environment has heavily restricted access to the outside from any of our machines.  I am often spinning up new Linux machines for testing purposes and getting temporary firewall access to a specific IP is a process I do not enjoy.  As a work around, I have tunneled my YUM updates and Repos through ..

Read more

It may be easier to edit html or other code by enabling color syntax within VIM. You can do this for individual users by creating a .vimrc file within the root of their home directory and adding the following. syntax on This can also be accomplished system wide by editing the /etc/vim/vimrc file and uncommenting ..

Read more

In the process of upgrading some ESXi hosts, I had one host that showed an error as follows. vmware esx cannot synchronize host To resolve this issue, resynchronize the password with the vCenter Server database. To resynchronize the password with the vCenter Server database: Right-click the ESXi host and click Disconnect. Reconnect the host and enter ..

Read more

Often when updating my Ubuntu systems, I am presented with the following after running apt-get Generating grub configuration file … Found linux image: /boot/vmlinuz-3.13.0-77-generic Found initrd image: /boot/initrd.img-3.13.0-77-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin done The link /vmlinuz.old is a damaged link Removing symbolic link vmlinuz.old you may need to re-run your boot ..

Read more

To export a database use the following command: mysqldump –add-drop-table -u username -p dbname > dbname.sql NOTE: Omit the –add-drop-table argument if you plan to merge this backup with an existing database when you import it. This option means the backup will totally replace the old database when it is imported. Import the database by executing the ..

Read more

Sometimes you may wish to see not only the version of a package you currently have installed but also the versions that are available for installation.  Using following command, you can find out. yum –showduplicates list package | expand And here is the output you would expect using PHP as the example. [jhudgins@www ~]$ sudo ..

Read more

Remote SSH sessions will often freeze after a period of inactivity.  Sure you can simply close the terminal but a better option is to properly disconnect from a frozen shell.  Doing so is simple.   Press ENTER or RETURN Enter a ~ Enter a . That should be all that is necessary..

Read more

Having users reset their passwords that connect via Remote Desktop from another Remote Desktop have a difficult time using the easiest method of resetting their password, CTL-ALT-END.  That method will bring up an option to change a password but it the option is only for the initial RDP connection no matter which desktop has focus. ..

Read more