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.
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