Mounting an ISO image of a CD/DVD before burning it is one of the basic steps to verifying you're going to get exactly the desired result. It's also a neat trick to access files from a CD/DVD image when you only need a file or two and not a whole CD. … [Continue reading] about How To Mount An ISO image
script: Save Your Session Log
If you ever need to save the history of your Unix shell session, one of the easiest ways to do it is to use the script command, found in most Unix systems. Simply provide the file name for your log as a command line parameter: $ script … [Continue reading] about script: Save Your Session Log
Perl: Searching Through Directory Trees
I had a need to scan a huge directory tree today, identifying the users and Unix groups owning all the files. The problem I faced was too long usernames and group names which meant the find /directory -ls command which I normally use for such … [Continue reading] about Perl: Searching Through Directory Trees
Unix File Types
In Unix systems, there are 6 file types. Below I will give a very short description of each. How to find out the type of file in Unix The first and most obvious way to confirm the type of a particular file is to use the long-format output of ls … [Continue reading] about Unix File Types
How To: Use apt-get behind proxy
If you run your Ubuntu system behind a firewall and have to use proxy server for http and ftp access, then your apt-get on a newly installed Ubuntu system will probably not work. To make it use proxy, simply set the http_proxy environment variable. … [Continue reading] about How To: Use apt-get behind proxy
URL file-access is disabled in the server configuration
I've recently upgraded Apache and PHP on my VPS, and one of the unpleasant surprises was that some scripts which tried including pages from remote sites (I know, not the most secure approach, but there were reasons for that) got … [Continue reading] about URL file-access is disabled in the server configuration
Ubuntu: Using Sudo to Grant User Privileges
If you have used your fresh Ubuntu install for longer than half an hour, chances are that you've discovered the sudo command already. sudo allows certain users to execute a command under another user's privileges. Most commonly, using sudo implies … [Continue reading] about Ubuntu: Using Sudo to Grant User Privileges
Allow Incoming TCP Connections for X11 on a RedHat (RHEL4) System
Starting with RHEL4, the system only accepts local (socket-based) X11 server connections. This means that if you go to another Unix server and try forwarding X11 output by using DISPLAY variable to point to your RHEL4 box, it will no longer work. … [Continue reading] about Allow Incoming TCP Connections for X11 on a RedHat (RHEL4) System
How To: Find Out the Release Version of Your UNIX
Different UNIX-like operating systems store information about their release versions differently. If you know what OS you have, but not sure about the version, then here's how you can find out: RedHat Linux bash-3.1$ cat /etc/redhat-release Red Hat … [Continue reading] about How To: Find Out the Release Version of Your UNIX
Welcome!
H, and welcome to UNIX Tutorial - a future hub for all sorts of useful information on various UNIX systems. The project is about to be launched by the end of August, so stay tuned! If you have any ideas/suggestions - please don't hesitate to … [Continue reading] about Welcome!