Sunday, 18 December 2016

// // Leave a Comment

What happens when you start your computer???

In this post we will discuss about what happens when you start your computer system and how that Linux operating system launched. When you start computer system then control goes to BIOS that Basic Input Output System. After that control goes to boot loader. So question arises in mind that what is boot loader. Here we will try to understand about boot loader. What is Boot Loader? Boot Loader is small code which is resides...
Read More

Friday, 18 November 2016

// // 1 comment

Admin Commands for linux

In this post we will discuss about important admin commands for Ubuntu operating system. 1. Hardinfo This is GUI based command through which admin can easily all hardware details in Graphical way. But this package is not by default present. you have to install this package through command. for user: sudo apt-get install hardinfo for root user: apt-get install hardinfo When you are going to run this command make sure...
Read More

Sunday, 13 November 2016

// // Leave a Comment

What happens in memory when you run Java Program.

As we are knowing java is object oriented programming.when you are writing java program with class then when you are going to run java program you have to provide memory to that class. As class in only skeleton it doesn't possess any memory so to give that memory you have to create object of that class. we will further discuss that thing. As we know java possesses two types of memory one is called as  -stack memory and...
Read More

Thursday, 10 November 2016

// // Leave a Comment

What is "Dirty Cow" vulnerability in Linux?

If you are using android phone or Linux operating system then read this very carefully.“Dirty COW” is a serious Linux kernel vulnerability that was recently discovered to have been lurking in the code for more than nine years. It is pretty much guaranteed that if you’re using any version of Linux or Android released in the past decade, you’re vulnerable. Dirty COW (CVE-2016-5195) is a privilege escalation vulnerability...
Read More

Monday, 24 October 2016

// // Leave a Comment

How c program runs in os?

Today we are going do discuss when you are going to run any user application or any program in Linux operating system. Here we are considering c program. in the last post we seen how we are executing c program in Linux. Now we are going to discuss how c program handled by operating system. before starting with it. we need to go through some basic concepts of OS and kernel. Basically there are two spaces in system 1) User space:- Where...
Read More

Monday, 17 October 2016

// // Leave a Comment

How Compiler works on C program??

Last post we seen that how to compile C program.Now we will see how the compiler working on the C programming. As we know that compiler converting source code into machine code that we are going to execute on the hardware then we will going to get output. But we do not know how the compiler working internally on the C program. The answer is here. First we will see the internal architecture of compiler. There are 4 major stages when compiler...
Read More

Saturday, 15 October 2016

// //

How to run C program in Linux??

Most of the students are having habit of using Turbo-C to write C  and C++ programs.They think it as easy to use and easy to run. But Turbo-C software is not giving actual sense of running c program.  When you runs c program in turbo-c you have to write getch() to block or freeze output window. Actually you are not freezing output window that is called as incomplete execution of program. your program is waiting to get...
Read More