How can you get/set an environment variable from a program in UNIX?
Submitted by: AdministratorGetting the value of an environment variable is done by using `getenv()'. Setting the value of an environment variable is done by using `putenv()'.
Submitted by: Administrator
Submitted by: Administrator
Read Online UNIX Operating System Job Interview Questions And Answers
Top UNIX Operating System Questions
☺ | What are the Unix system calls for I/O? |
☺ | How do you change File Access Permissions in UNIX OS? |
☺ | What are links and symbolic links in UNIX OS file system? |
☺ | What is a UNIX OS shell? |
☺ | Predict the output of the following program code? |
Top Operating System (OS) Categories
☺ | RTOS Interview Questions. |
☺ | Windows 7 Interview Questions. |
☺ | MAC Operating System Interview Questions. |
☺ | Disk Operating System (DOS) Interview Questions. |
☺ | Shell Scripting Interview Questions. |