There's quite a few ways to confirm a user ID (uid) in Unix. id command This is probably one of the easiest ways to find out a uid of a particular user in your system: # id -u greys 500 The most common way of using the id command is even simpler, and … [Continue reading] about How To Find Out User ID in Unix
bash: Find Out the Version of Your Unix Shell
bash (Bourne Again SHell) comes with pretty much every Unix-like OS these days. If you ever wonder what exact version of bash shell you have on your system, here's how you find out: just use the --version parameter in the command line. Using … [Continue reading] about bash: Find Out the Version of Your Unix Shell
Unix Sockets Tutorial
I've noticed how many people found other pages of this blog trying to find more information about Unix sockets, and so I thought it's about time we shed some light on this seeming mysterious, but really simple concept. What is a Unix socket? A Unix … [Continue reading] about Unix Sockets Tutorial
sudo tutorial
sudo allows you to run a Unix command as a different user. Using /etc/sudoers file to confirm what privileges are available to you, this command effectively elevates your access rights, thus allowing you to run commands and access files which would … [Continue reading] about sudo tutorial
Solaris Devices
This is a very brief introduction into navigating the device paths in Solaris. I'm using a Solaris 10 installed on Sun v490 for all the commands shown below. Device files in Solaris Even though all the block and character special device files are … [Continue reading] about Solaris Devices
Unix Tutorial update: Reference page
Looking at this website access logs, I see how many people share the same problems and look for the same solutions, but use vastly different search queries to get to my posts. I've decided to make your life easier, and have just launched a Unix … [Continue reading] about Unix Tutorial update: Reference page
Find Compiler Version in Unix
Finding the compiler version in your Unix system should be the first step before you attempt to compile any package from its source codes. In fact, if you're familiar with the common compilation routine, the configure script which you run to generate … [Continue reading] about Find Compiler Version in Unix
tee: Replicate Standard Output
Now and then I come across a situation when I need to run a script or a Unix command and would like to not only see the output of it on the screen, but also save this output to some log file. Redirecting the standard output using standard Unix stream … [Continue reading] about tee: Replicate Standard Output
How To Find Out RedHat Version And More
If you're a really curious mind, you won't be satisfied with simply knowing the current release of your RedHat Linux, that's why there's a few more commands you could use to satisfy your interest. RedHat release If you simply want to confirm whether … [Continue reading] about How To Find Out RedHat Version And More
How To Take A Screenshot in Unix (xwd)
Quite often there's a need for you to take a screenshot of your Unix desktop, and as always there's a number of ways to do it. Today I'm going to cover the command line approach to taking screenshots. Taking a Screenshot with xwd Most modern Unix … [Continue reading] about How To Take A Screenshot in Unix (xwd)