Solution:
Q. 1 Answer:
As a process executes, it changes states. The state of a process is defined in part by the current activity of that process. Given below are current and next states of process. According to your understanding, what can be condition that changes one state into another:
Q.2 Answer:
The following table contains the list of operations. Write down the Linux commands along with their screenshots for performing these operations:
You are required to run the respective commands on Ubuntu and provide relevant screen shots of the list of operations as stated in above table.
Sr # List of Operations Command 1 List the contents of files to the terminal window. cat 2 Change the owner and group owner of a file. chown 3 Compares two text files and show the differences between them diff 4 Print a string of text to the terminal window. echo 5 Change the password for a user. passwd