SW Assignment
SW Assignment
!). With which character the passwords on UNIX shell are echoed?
Process: A process is a name given to the file when it is executes as a program. A processes is
manipulates in a way how files are manipulates .
4). Out of kernel and shell, which interacts with user and which interacts with hardware?
Ans. Out of kernel and shell,
Kernel is interacts with hardware and Shell is interacts with User.
8). what command gives the name of the currently running shell?
Ans. echo $SHELL gives the name of currently running shell.
9). Check the man page for man command and write the main sections of a man page.
Ans.
Executable programs or shell commands
System calls (functions provided by the kernel)
Library calls (functions within program libraries
Games
Special files (usually found in /dev)
File formats and conventions eg /etc/passwd
Miscellaneous (including macro packages and conventions), e.g. groff(7)
System administration commands (usually only for root)
Kernel routines [Non standard]
10). Check man page for the 3 external commands (of question 7) and write in brief about
the command.
Ans. ls, cat, date etc. are external commands .
cat: concatenate files and print on the standard output.
Synopsys: cat [OPTION]... [FILE]...
DESCRIPTION:
Concatenate FILE(s) to standard output.
DESCRIPTION:
Display the current time in the given FORMAT, or set the system date.
Mandatory arguments to long options are mandatory for short options too.