Quiz on chapter-2 of book ldd3 Quiz on chapter-2 of book ldd3 Function passed to module_init is invoked when Module is loaded into ...Read more »
The Magician Of Linux
Quiz on chapter-2 of book ldd3 Quiz on chapter-2 of book ldd3 Function passed to module_init is invoked when Module is loaded into ...Read more »
djpeg(Decompress jpeg) command can be used to convert the jpg or jpeg format images into .bmp ,.gif and other formats. For example let us...Read more »
The command fmt allows us to format text file easily. We saw how to wrap text using the command fold, in the post " Wrapping lines i...Read more »
The desktops and laptops that we use in our daily lives are mostly of x86 architecture. Thus when we compile a program using the usual compi...Read more »
Threads once created using pthread_create,can some times be required to be stopped in between before they complete their execution. This ca...Read more »
Here are three scripts for finding the length of string using scripting 1. Using bash string operation #!/bin/bash echo "Enter the s...Read more »
In the post " pthread creation " we saw how to create a simple thread and we had used the default attributes for the thread. One ...Read more »
grep is used for searchin for a string or a pattern in a given input stream. By default the grep ouputs the whole line in which the search s...Read more »
pthreads are posix threads supported by the unix based systems. The pthread library allows us to create multiple threads in the user space a...Read more »
To launch an GUI window as root, we can use the command gksudo. for e.g. if we want to open the nautilus file browser as root then ...Read more »
Some times the terminal window or other GUI windows move to uncomfortable positions, from where we are unable to grab the title bar using th...Read more »
Here are the steps to compile a kernel from source in debian based systems. Note:These steps have worked successfully on debian 6.0 (linux 2...Read more »
To find out the amount of RAM and swap space being used by all the processes in the system we can use the command free for e.g. free: ...Read more »
The cd/dvd drive, which is usually ejected by pressing the button on the drive can also be controlled from the command line. The command to...Read more »
bash: ifconfig: command not found This is a very common error which lot of us might have encountered for commands like ifconfig,insmod,modp...Read more »
Make files are used to compile multiple source files and to generate executable from the source code. If we want to check what are the f...Read more »
Here is a script that crates a triangle of what ever character we choose. The triangle gets created right at the center in the terminal. ...Read more »
pgrep searches in the currently running processes for processes that match the search criterion passed as the argument. For e.g. If we wa...Read more »
Every process in linux has a unique process id, which can be used to control the process. To find the process id from the process name we c...Read more »
When using the gnome desktops, its common to use the function key F1 to launch the genome help window. But same can also the done from the c...Read more »