Month: January 2012

Printing Linux Environment using C Program

Linux provides each running program with an environment. The environment is a collection of variable/value pairs. Both environment variable names and their values are character strings. By convention, environment variable names are spelled in all capital letters. You’re probably familiar with several common environment variables already. For instance: USER contains your username. HOME contains the …

Printing Linux Environment using C ProgramRead More »