Category Archives: Unix

KSH Script Basics | Special Shell Variables

Just deleted tons of stale, unsused user accounts. Here are some KSH shell basics and special shell variable. I need to Google them up myself to get reminded that ‘$?’ is the output variable for script execution. That is, it’s 0 for successful execution and 1 if there is any error.

getfacl and setfacl – Unix Access Control (acl) Tool

Today’s topic is all about Access List… For Unix and Unix-like system, the usual command to set the file permission is the ‘chmod’ command. However there are instances that we need more flexibility in giving access and control for files and folders. Get it? Access and Control? In this situation, there is a file utility … Continue reading

Unlock locked user account in HP-UX

I know nothing about HP UX (yeah, except SAM). That’s why, just now, when there’s a request to just make a trace route from an HPUX server to another server, I have to login and do execute the command. I couldn’t log in as my user id so i logged in as root instead from … Continue reading

Send Break on SPARC Enterprise T5120 – Send Break on ILOM

Send Break on SPARC Enterprise T5120 – well it for the T5000 series I guess, the newer ones. Or “Sending Break onan ILOM.. “->” = ILOM “sc>” = ALOM .. and since this particular server has the “->” prompt we’re using the ILOM. From ILOM to Solaris: -> start /SP/console From ALOM to Solaris: sc> … Continue reading

Configure Virtual Hosting in Apache Web Server

When we say or mention the word Web Server, the first thing that comes to our mind is Apache, right? (if you don’t then what are you doing here reading this? ) Apache is the most well known open source web server there is! Open source?? Make that the most wildly used webserver on the … Continue reading

All About Arlo Gilbert

Who in heaven is Arlo Gilbert? Yep, using ‘heaven’ is perfect for describing this man for he do sometimes tries to conquer heaven. He’s into planes you see. Anyway, you’re probably Googling about Arlo Gilbert as you read this post. Well, let me save you a few minutes and introduce you to Mr. Gilbert in … Continue reading

vi Search and Replace… The Basics, Dummy’s Reference

Yep, this is a dummy’s reference… I keep on forgetting the syntax so I might as well put it here for my own reference… vi is the one, if not the most popular text editor available for a System Administrator on a UNIX and UNIX-like machines. It has two modes, command and editor mode. Here … Continue reading

About the /proc and -xdev parameter for ‘find’

/proc is a pseudo-filesystem used to access process information from the kernel. It doesn’t use any storage space and uses little memory. On Linux, you can sometimes make modifications to the running kernel by modifying “files” in /proc. If / is full, run a command similar to the following to sort all files in the … Continue reading

Difference Between NFS, DNS, NIS+, and NIS

NFS, DNS, NIS and NIS+… that’s a lot of acronyms! Network File System NFS is Sun’s Networked File System, and by now, more or less, the de facto method of sharing file systems between computers. Domain Name Service DNS is the Domain Name Service, which is the way information about hostnames and addresses are shared … Continue reading

UNIX Quick Tip: Changing The Time Stamp Of A File

This tip is a give away. Everyone knows this, but for those who doesn’t or forgot…  here’s refresher… Here’s a typical output of a file listing using `ls -l` on a directory: [root@unix-box icons]# ls -l | more total 636 -rw-r–r–    1 elizar root          246 Aug 26  2005 a.gif -rw-r–r–    1 elizar root          242 Aug … Continue reading