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? |
☺ | What are various IDs associated with a process in UNIX OS? |
☺ | How do you change File Access Permissions in UNIX OS? |
☺ | What is a FIFO in UNIX OS? |
☺ | Brief about the directory representation in UNIX OS? |
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. |