Monthly Archives: October 2013

Oracle ZFS Storage Appliance

Some notes for the Oracle (Sun) ZFS Storage Appliance. Won’t be very useful to someone without a ZFS appliance. shell zpool list zpool status zpool get all fmadm faulty # view hardware fault list (fault management administration) Configuration – Storage … Continue reading

Posted in System Administration | Tagged , , , , | Leave a comment

VMware ESXi Commands

Thanks to Robert Chase for a very useful list of VMware ESXi shell commands to control your ESXi virtual infrastructure from the low-level hypervisor command-line. See the following article for details. VMware ESXi SSH CLI commands (robertbchase.blogspot.com)

Posted in System Administration | Tagged , , , , , | Leave a comment

Clear Current Command in Bash

If you’re on the Bash command-line and you want to clear the current command, try the following: CTRL+U to clear to the left up-to the cursor, and CTRL+K to klear to the right after the cursor (misspelling intended). More of … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

RHEL 6.x and CentOS 6.x Cron and At Utilities

Linux System Administrators responsible for RHEL 6.x and CentOS 6.x systems need to be able to automate system tasks. The official Red Hat Enterprise Linux (RHEL) 6.x “Deployment Guide” documentation includes a good tutorial on the popular “Cron” and “At” … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

Delete Old Log Files with Linux Shell

One of the most needed system administration tasks can be surprisingly difficult to do well. Old log files should be deleted or cleaned up to keep the number of files and disk space used manageable. Here is an example using … Continue reading

Posted in Linux, System Administration | Tagged , , , , | Leave a comment

Linux Shell Date Format for Log File Names

Linux shell users need a quick way to include the date and time in log file names. Ideally the format should not include any space or colon characters. A format that I like to use is YYYY-MM-DD_HHMMSS and if the … Continue reading

Posted in Linux | Tagged , , , , , , , | Leave a comment

VMware Copy and Paste Blocked by Default

You’re using the vmware console to access a virtual machine, and you cannot copy or past text to or from the vm. This can be so frustrating! You update the vmware tools to see if that solves the problem, but … Continue reading

Posted in System Administration | Tagged , , , | Leave a comment

Bash Shell Output Redirection

The Bash shell is one of the best parts of the user environment on a Linux system. An essential shell function is the ability to run a command and redirect the output to a file. Programmers will be familiar with … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

Official VMware Tools Yum Repository for RHEL 6.x and CentOS 6.x

Update 6/20/2014, RHEL 7 is now supported and VMware officially recommends *only*the open-vm-tools which are now included in the default RHEL 7 package repositories. In addition to RHEL 7, VMware is now recommending the use of open-vm-tools on *all* Linux … Continue reading

Posted in Uncategorized | Leave a comment

visudo with gedit on RHEL 6.x and CentOS 6.x

Linux system administrators unfamiliar with the classic “vi” (or vim) editor should really take the time to learn this essential command-line tool. For those who want to try everything in the GUI, here’s a tip to use “visudo” during initial … Continue reading

Posted in Uncategorized | Leave a comment