Question
What Happens when you execute a command?

Answers

When you enter "ls" command to look at the contents of your current working directory, UNIX does a series of things to create an environment for "ls" and the run it: The shell has UNIX perform a fork. This creates a new process that the shell will use to run the ls program. The shell has UNIX perform an exec of the "ls" program.
This replaces the shell program and data with the program and data for "ls" and then starts running that new program. The "ls" program is loaded into the new process context, replacing the text and data of the shell. The "ls" program performs its task, listing the contents of the current directory.   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q I have two interfaces with methods having same names and parameters. In a class, i implements these two interfaces. How can i call it?
  • Q What is the parent class of all web server control?
  • Q Why did Mahmud of Ghazni attack India?
  • Q Wine brandy sherry almonds raisins orange glogg what country
  • Q What is the method used to load generated dataset with data on the DataAdapter control ?
  • Q What are the indirect forms of solar energy?
  • Q How were members of Navajo clans organized geographically? How could this benefit individual members of a clan?
  • Q What is the average collection period?
  • Q What is a spoodle
  • Q Network layer firewalls
  • Q Explain a pseudo tty?