Archive for the 'Linux/Unix' Category

May 30th, 2007

I Passed LPI 101 Exam

Just to let everyone know, I passed the LPI 101 exam, that was a few months ago in February. Now I just need to go through the LPI 102 exam to complete the Level 1 certification and till now due to my busy schedule I have not even started the preparation for the 102 exam but I hope to take the exam by the end of this year.

The LPI 101 was up to the expectations, neither too easy nor too hard and had a good learning curve; I advise LPI for everyone who wants to get started in the UNIX world.

I will recommend Roderick W. Smith LPI Study guide which has been published by Sybex, don’t go for the IBM developer works tutorials, they are good but only if you have too much time at hand as they contain much extra information which is not needed.

the imax | 10:14 pm | Linux/Unix | No Comments

October 5th, 2006

Enable and disable mail notifications in linux terminal

You can enable or disable the mail notification in a terminal window by the command biff

biff -y enable the mail notifications

biff -n disables the mail notifications

the imax | 8:48 pm | Linux/Unix | No Comments

October 2nd, 2006

History file in Linux and its Path

History file in Linux is the file in which the command history is stored, it is created in the home directory of every user, e.g. in case the user is Joe and his home directory is /home/Joe than the file will be /home/Joe/.bash_history

You can also find the path to your history file using the command $HISTFILE , if it is not set than the command history is not saved when an interactive shell exits

the imax | 8:50 am | Linux/Unix | No Comments

October 1st, 2006

Creating Tar.gz files in Windows

You can open and extract the content from gzipped in Windows easily using WinRAR however you cannot create a gzip archive in Winodws using WinRAR, a good tool which can be used to both create and open gzip files in windows is Powerzip, you can get its trial version from powerzip.biz

Powerzip can also be used to work with bz2 archives in windows

the imax | 9:56 pm | Linux/Unix | No Comments

September 15th, 2006

dmesg linux boot messages

dmesg command

The messages that appear on the screen while Linux in booting are saved in a file named /var/log/dmesg these messages can again be view for troubleshooting and diagnostic purposes etc either by displaying the file /var/log/dmesg or by simply giving the command dmesg at the prompt

the imax | 3:21 pm | Linux/Unix | No Comments

September 15th, 2006

du command in linux

du command in Linux is used too check the amount of disk space being used by a directory and its sub directories , if we give the du command without specifying a directory than the commands work for r the pwd or the directory in which we are working currently

Here are some of the switches than can be used with the du command

du -a Shows counts for all files and directories.
du -b Displays size in bytes.
du -c Prints a total for all arguments after they are processed.
du -h Creates human readable output, appending letters such as M for megabytes.
du -k Displays size in kilobytes.
du -m Displays size in megabytes.
du -s Displays a summary total for each argument.
du -x Skips directories containing file systems other than the one contained in the argument

the imax | 3:20 pm | Linux/Unix | No Comments

August 15th, 2006

SSH to SuSe Linux from Windows XP not working

The other day I was trying to connect to my Suse Linux box from Windows via SSH and had already connect the two by Ethernet cable , I was able to ping both machines from each other but SSH (I was using Putty in Windows) was not working from Windows and I was getting the error that “Network error: connection timed out”

On investigation I found that it was the Suse’s firewall which was causing all trouble, I disabled it and SSH started working perfectly
So If you are having the same problem than please do check for the firewall in Suse as it is enabled by default

the imax | 6:17 pm | Linux/Unix | No Comments

April 23rd, 2006

Difference between Telnet and SSH ?

A one word answer to this question is Encryption. Basically both Telnet and SSH are terminal emulators and are used to access your system remotely, means that you can login you system through internet or over a network and issue commands. SSH just encrypts your connection to the remote machine so when you send your password or commands over the network someone else cannot sniff the packets and interpret your password as it in encoded while if you are using Telnet than all your passwords and information will be transferred over the network as plain text and some rogue party can easily interpret that through packet sniffers

the imax | 7:00 am | Linux/Unix | No Comments

April 22nd, 2006

Play mp3 in Linux

If you want to play MP3’s in Linux than a very simple and straight
forward solution is that you install real player for Linux, which is
available for download from real’s official website. It comes with the
support of MP3 by default and will save you from a lot of trouble in
finding and configuring mp3 plug-In’s for other Linux players

the imax | 12:49 am | Linux/Unix | No Comments

April 13th, 2006

Giving Suse Linux a try …

I have been trying Suse since last ten days or so, I just have this bad habit of trying different distros for a few weeks and than I am back in Windows. However this time I seriously want to learn more about Linux/Unix. Hopefully I will stick to working in Linux this time and will also post what I learn with time .

the imax | 7:22 pm | Linux/Unix | No Comments