How can you get or set an environment variable from a
program?

Answer Posted / vishal

Also one can set global system variable "environ"
variable are stored in name=value pair.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ipc in unix?

559


What is ln(linking)?

578


What is ipc port?

560


How to write the program on full-duplex communication on bidirectional?

545


What are the various schemes available?

543






Explain the initial process sequence while the system boots up?

546


How to get or set an environment variable from a program?

539


Explain linking across directories?

533


Explain the advantage of executing a process in background?

508


What are two different models of ipc differentiate both?

575


Max relax-able permission value with out giving write permission to others?

566


Explain how do you execute one program from within another?

529


Explain about daemon?

566


Which ipc is faster?

565


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

585