UNIX systems also have a graphical user interface (GUI) similar to Microsoft Windows which provides an easy to use environment. However, knowledge of UNIX is required for operations which aren't covered by a graphical program, or for when there is no windows interface available, for example, in a telnet session.
Showing posts with label What is unix. Show all posts
Showing posts with label What is unix. Show all posts
What is UNIX?
UNIX is an operating system which was first developed in the 1960s, and has been under constant development ever since. By operating system, we mean the suite of programs which make the computer work. It is a stable, multi-user, multi-tasking system for servers, desktops and laptops.
What Happens when you execute a program in unix
What Happens when you execute a program in unix?
Question :What Happens when you execute a program in unix ?Answer :When you execute a program on your UNIX system, the system creates a special environment for that program. This environment contains everything needed for the system to run the program as if no other program were running on the system. Each process has process context, which is everything that is unique about the state of the program you are currently running. Every time you execute a program the UNIX system does a fork, which performs a series of operations to create a process context and then execute your program in that context. The steps include the following: • Allocate a slot in the process table, a list of currently running programs kept by UNIX. • Assign a unique process identifier (PID) to the process. • iCopy the context of the parent, the process that requested the spawning of the new process. • Return the new PID to the parent process. This enables the parent process to examine or control the process directly. After the fork is complete, UNIX runs your program.
Keywords:
What happens when you execute a command in unix?
How do you execute a program in a command line?
What happens when you run a program?
How do you execute a program in a command line unix?
how to run c program in unix vi editor
unix commands
unix programming book
how to compile c program in unix
how to run a program in unix terminal
unix shell
bash shell scripting
unix programming language
Subscribe to:
Posts (Atom)