Difference between grep, sed and awk

grep: search for specific terms in a file #usage [crayon-5ab2d796ead3e137794917/] Now awk and sed are completly different than grep. awk and sed are text processors. Not only do they have the ability to find what you are looking for in text, they have the ability to remove, add and modify the text as well (and […] Read more»


How to build latest stable linux kernel

Go to Goto  stable: ………[  … ] [browse] and click on browse Click on summary tab and see the will find the url for stable release. [crayon-5ab2d796eb316459060810/]     Read more»


How to use grep in llinux

GREP stands for globally search  a regular expression and print. Its syntax has following format: [crayon-5ab2d796eb51b388876894/] Some useful grep commands are: [crayon-5ab2d796eb523646610110/]   Read more»


How to write Pluggable Authentication Module (PAM) application

We are going to develop PAM application to check whether user is authenticated or not not using PAM. The detail tutorial about PAM can be found here.   First install the library for PAM in linux, in my case it is Ubuntu: [crayon-5ab2d796eb985601989001/] After that, I write the code like this: [crayon-5ab2d796eb98e468691634/] Then, compile the […] Read more»


how to nohup in linux

If you want to run the application from terminal with no logs in background remotely or locally, the it can be done as: [crayon-5ab2d796ebc3a559367804/]   Read more»


How to install tftp in Ubuntu

First install the tftp server which tftpd-hpa and tftp client which is tftp [crayon-5ab2d796ec1ec162896094/] Then, take default backup configuration [crayon-5ab2d796ec1f4298251195/] After that, edit tftp-hpa configuration file in /etc/default/tftpd-hpa [crayon-5ab2d796ec1f8863998220/] Then, move the folder and change its mode and owner. [crayon-5ab2d796ec1fb049124885/] Finally, restart the tftpd-service and test. [crayon-5ab2d796ec1ff089234031/] That’s it. Read more»


Compiling a C program

Compilation refers to the process of converting a program form the textual source code, in a programming a language such as C or C++ , into machine code, the sequence of 1’s and 0’s used to control the central processing unit(CPU) of the computer. This machine code is then store in a file known as […] Read more»