≡ Menu

Linux

What is Linux System Calls and Library Functions?

Computer software are developed to either automate some tasks or solve some problems. Either way, a software achieves the goal with the help of the logic that the developer of that software writes. Every logic requires some services like computing the length of a string, opening a file etc. Standard services are catered by some [...]

{ 27 comments }

ELF stands for executable and linkable file format. ELF is used as standard file format for object files on Linux. Prior to this, the a.out file format was being used as a standard but lately ELF took over the charge as a standard. ELF supports : Different processors Different data encoding Different classes of machines [...]

{ 9 comments }

Howto: C Programming with Temporary Files in Linux

Sometimes while designing a software, you might have a requirement to hold some data (for reprocessing at later stage) for some duration. Some software do it within the memory in which they are running while others may create a temporary file for this purpose. Creating temporary files to hold data is a popular practice among [...]

{ 7 comments }

Du stands for Disk Usage. Linux du command is used for summarizing the disk usage in terms of file size. It can be used with folders to get the total disk usage. This article provides some examples on how to use du command effectively. All the du examples shown here are executed on a directory [...]

{ 7 comments }

While yum, apt-get, rpm are very handy to install a package that is already compiled, you still might encounter some situations where you have to install a software from source code. This article explains on a very high level how to compile and install a software from source code. Download the Source Code Package and [...]

{ 14 comments }

The concept of owner and groups for files is fundamental to Linux. Every file is associated with an owner and a group. You can use chown and chgrp commands to change the owner or the group of a particular file or directory. In this article, we will discuss the ‘chown’ command as it covers most [...]

{ 21 comments }

Howto: C Programming with Directories on Linux

When it is said that in Linux everything is file then it really stands true. Most of the operations that we can do on files can be done on other entities like socket, pipe, directories etc. There are certain situations where a software utility might have to travel across directories in the Linux system to find [...]

{ 8 comments }

We are starting a new series on CouchDB. This the first article in the CouchDB series. CouchDB is an Apache project. Just like the name suggest it is a database. CouchDB is a NoSQL database. NoSQL databases doesn’t have any schema, tables, etc, that you’ll typically see in a traditional databases like Oracle or MySQL. [...]

{ 8 comments }