Sick of your computer speaker beeping like a demented Morse code machine whenever you type something wrongly? Teach it the sound of silence: run the command setterm -blength 0 to mute the alarm bell no matter what kind of terminal you’re typing into. If you want it to happen every time you start a terminal, just add the command to your .bash_profile file.

Usually most of our back end server applications might be multi-threaded console applications which contain several threads running simultaneously. Usually we do trace issues by printing strings to console screen by using cout or printf(). As a general practice, we usually stick upon cout because of our affinity towards C++. But there is a great pitfall lies behind.
Everyone loves the locate command, because as long as your index is up-to-date, there is no faster way to find files matching a certain name. Of course, the problem with locate is that it just lists filenames, which is no good if you want more information on those files, such as how much space they take up.
If you have a directory that contains ten subdirectories and you want to delete three of them, the slow way to do it would be like this:
Does anyone else miss the old style Windows 3.1 directory list boxes? I find the new Windows 95 directory tree view controls pretty cumbersome to navigate around. They display far too much information at any one time, and as a result it can be confusing to navigate around the control to locate a folder.
Luigi Arlotta concludes his series ‘A PHP Tutorial for Beginners’ with a discussion on Arrays. He also discusses topics such as associative arrays. His series has turned out to be an excellent introduction to PHP programming. Especially beginners,who are not even well versed with any kind of programming can begin directly with his tutorial..
Working with root is either great fun or extremely dangerous, depending on how much you like the feeling of supreme executive power.
LILO stands for Linux Loader. The contents of the /etc/lilo.conf file (in RedHat Linux 6) decide what LILO does during booting. This article explains one possible setup on your machine, where you could have Linux and Windows 95 together on one computer. The important lines in the lilo.conf file are the location of your Windows and Linux partitions. If you know the partitions on which you have installed the Operating Systems, then configuring LILO is very simple.
Setup :
The setup of my system can be best explained with the table below
|
Linux device
|
Size
|
Type |
Description |
|
/dev/hda1
|
2 GB
|
Win 95 Fat32 |
C:\ in Windows (Within Primary Partition) |
|
/dev/hda3
|
1 GB
|
Linux Native |
Consists of / and /boot (Within Primary Partition) |
|
/dev/hda4
|
60MB
|
Linux Swap |
(Within Primary Partition) |
|
/dev/hda5
|
3GB
|
Win 95 Fat32 |
D:\ in Windows
Logical 1st partition (Within Extended Partition) |
|
/dev/hda6
|
2GB
|
Linux Native |
Consists of /usr
Logical 2nd partition (Within Extended Partition) |
Currently when my system boots. The Lilo prompt stays for 5 seconds. On pressing <Tab> I get 2 options named linux & win. If I don’t type anything for 5 seconds, then by default (as set in lilo.conf) Windows 95 starts booting.
Procedure :
Edit the /etc/lilo.conf file (using any text editor) as shown below. This is the current configuration on my system. Yours may be different. Make the requisite changes to boot the partition where your Windows installation exists.
While storing information in memory is great, there comes a time your users will have to shut your application down. This means (probably) that you will need to write information to a file at some point, because you will want to store whatever data was in memory. Today, we are going to take a look at a feature built into .NET called Serialization that makes writing and reading data structures to and from a file extremely easy.
Apparently computers are here to make life easier, but that’s news to us – all too often we find people executing the same boring repetitive sequence of commands to get a job done, rather than think a little smarter and really flex the full power of Bash.