Motivation

1.Review your performance. Whether it is communication, activities, CEO, on the job. 2. Always do more than you get paid for to make investment in future. 3. Face your fear. 4. Exercise your will-power in order to change direction. 5. I’m sorry. Admit your mistake to yourself. 6. Refine your goal. 7. Believe in yourself. […] Read more»

linux

Difference between grep, sed and awk

grep: search for specific terms in a file #usage [crayon-5a35d38935d28688690667/] 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»

openwrt

How to build openwrt image from Image generator

Download the appropriate Image Builder and extract [crayon-5a35d38935fbf225388609/] Configure package repositories in repositories.conf [crayon-5a35d38935fc9803030789/] Install dependencies for “make” [crayon-5a35d38935fcd421527389/] Check profile exists [crayon-5a35d38935fd2128220791/] Create profile inside /target/linux/atheros/profiles/nano2.mk [crayon-5a35d38935fd5863307901/] Check again profile [crayon-5a35d38935fd8490082617/] Should display [crayon-5a35d38935fdc769911421/]   Finally, make image [crayon-5a35d38935fdf010986934/] Check inside bin directory. There will be the image files.   Read more»

linux

How to build latest stable linux kernel

Go to https://www.kernel.org Goto  stable: ………[  … ] [browse] and click on browse Click on summary tab and see the bottom..you will find the url for stable release. [crayon-5a35d38936285064164997/]     Read more»

linux

How linux boot process occurs

Three major phases -BIOS -Bootloader -Kernel The BIOS Basic Input Output System(BIOS) -The first program -Runs from ROM -OS independent POST -Power-on-self-test Boot an OS from a storage device -Proceed through the list until it finds a MBR The boot loader MBR -First sector of the drive Bootloader may reside in the MBR -And/or may […] Read more»

linux

How to use grep in llinux

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

linux

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-5a35d389368e0873462937/] After that, I write the code like this: [crayon-5a35d389368e8892844490/] Then, compile the […] Read more»