What Are The Different Standard Given by POSIX ? What Is POSIX ?
What Are The Different Standard Given by POSIX ? What Is POSIX ?
Assignment: TB (Compulsory)
PART - A
1. What are the different standard given by POSIX ? What is POSIX ?
POSIX standards are formally designated as IEEE 1003 and the international standard name is ISO/IEC 9945. The standards, formerly known as IEEE-IX, emerged from a project that began circa 1985. Richard Stallman suggested the name POSIX in response to an IEEE request for a memorable name.[2]
POSIX :POSIX or "Portable Operating System Interface for Unix"[1] is the name of a family of related standards specified by the IEEE to define the application programming interface (API), along with shell and utilities interfaces, for software compatible with variants of the Unix operating system, although the standard can apply to any operating system.
if a directory permission changed then the user or Group or other may not be Read, Write or Execute by changing the permission using commands such as -rw-r--r--, chmod etc.
Read (r) Write (w) Execute (x)
TABLE 1. UNIX DIRECTORY Permissions WHO USER Read (r) Write (w) Execute (x) GROUP Read (r) Write (w) Execute (x) WHAT THE PERMISSIONS ALLOW The account owner can list the files in the directory. The account owner can create or delete files in the directory. access files in that directory by name (such as Web page files). Everyone in the designated group can list the files in the directory. Everyone in the group can create or delete files in the directory. Everyone in the group can change (cd) into the directory and access files in that directory by name (such as Web page files). Anyone can list the files in the directory. Anyone can create or delete files in the directory. Anyone can change (cd) into the directory and access files in that directory by name (such as Web page files).
4. What is script command, with command explain how to create script file of a session?
script is used to take a copy of everything which is output to the terminal and place it in a log file.
% less hw0.scr Script started on Wed Sep 06 09:34:14 2000 % ls hw0.scr square.scm
% cat square.scm ;; your name ;; your id ;; your section # or time ;; square takes a number as an input parameter and ;; returns the square of it. (define (square x) (* x x)) % module load soft/tcl % stk Welcome to the STk interpreter version 4.0.1 [SunOS-5.7-sun4] Copyright 1993-1999 Erick Gallesio - I3S - CNRS / ESSI STk> (load "square.scm") STk> square #[closure arglist=(x) 11b158] STk> (square 3) 9 STk> (square -5) 25 STk> (square 0.1) 0.01 STk> (square 0.00000001) 1e-16 STk> (square 'a) *** Error: *: not a number: a STk> (square 1) 1 STk> (square (square 3)) 81 STk> (exit)
Two important attributes of a process:PID - The PID stands for the process identification. This is a unique number that defines the process within the kernel. PPID - This is the processes Parent PID, the creator of the process.