LINUX TIPS & TRICKS

Post here shortcuts and some commands that can help somebody to program efficiently and quickly.
  • Vim Editor Command to automatically indent the code with proper tab spaces and to increase readability of a program.
  • First,press ESC key.Then type :(colon).
  • Press Enter .
  • then type gg=G.
  • THIS WILL AUTO-INDENT YOUR CODE AUTOMATICALLY.
  • To set proper tab space and other attributes.
  • open vimrc file which is configuration file for vim editor.
  • vim /etc/vimrc.

If you want line number permanently enable while making any c program,then add
:set number in VIMRC file.

  • Set these options to make c program more readable and indented.
  • :set pastetoggle<f5>
  • :set tabstop=6
  • :set shiftwidth=4
  • :set cindent
  •  TO CHANGE COLORSCHEME OF VIM EDITOR
  • Press esc,then enter command :colorscheme
  • To view available colorschemes press TAB
  • choose your desired colorscheme and press ENTER.
For more detail you can visit here: www.emblogic.com

Top Short Term Industrial Training Institute at Your Doorstep

Emblogic is a premier engineering and technology company at has brought the benefits of industrial training at your doorstep. For a long time, the people living in the National Capital Region (NCR) and the Union territory of Chandigarh have been facing a lot of problems due to their need of having a company that will provide them with all the industrial training to help prepare them for the outside world but not anymore. Emblogic has come to the rescue of these people in need and has provided them with an outlet that will help them shape their needs and aspirations. This goes a long way in showing the pioneering and entrepreneurial needs of this avant garde company that has the motto of providing the people with the benefits of technology.

The 6 week industrial training noida has been launched to ensure ease of access to the people living in the NCR Region. This is part of the pioneering efforts of Emblogic that is paying rich dividends to the company in this regard. Noida is a prime location of the NCR region and is well connected by bus and metro from all the various parts of the city of Delhi and this helps them in getting all the technological expertise that is very much needed to survive in the competitive age of globalization. This course that is provided by Emblogic has all the features that will help them get the best that the company has to offer. The course curriculum has been designed in such a way so as to give the greatest amount of leverage to a young techie. This goes a long way in showing the commitment of the company towards its trainees.

The 6 week industrial training chandigarh has been launched with the aim of providing the people of the union territory of Chandigarh with the latest industrial training that gives them the best that quality education in the field of Embedded and Linux technologies to the scores of engineering professionals who wish to make their mark in the professional world of technology. For a long time, Chandigarh was kept out of the latest developments in technology but not anymore thanks to Emblogic. This has given them pride of place among the people of this beautiful and planned city designed by the famous French architect Le Corbusier. The 6 weeks intensive training program consists of both classroom as well as lab sessions that help the trainees get all the required information and expertise that the renowned company has to offer. It is only through the pioneering efforts of Emblogic that the people of these two well known regions of India have got access to world class training and education in the field of engineering and technology.

There are Six Phases of C Program Development

Phase 1: Editor
 
Programmer creates program in the editor and stores it on disk.one of the text editor is vim which creates the c program files in Linux operating system.

Phase 2: Preprocessor
 
The c pre-processor is a macro processor that is used automatically by the c compiler to transform your program before actual compilation .

Phase 3: Compiler & interpreter
 
The compiler read the whole program and translated it into machine language completely.compiler needs syntactically correct program to produce an executable code.


Phase  4: Linker
 
Linker link the object code with the libraries creates an executable file and stores it on disk.

Phase 5: Loader
 
The process which loads the program into memory and then instruct the processor to start the execution of the program from the first instruction.

Phase 6: CPU
 
CPU takes each instruction and executes it.possibly storing new data values as the program executes.

This is typical c program development environment.