Operating System
Operating System
It is a portable operating system that is designed for both efficient multi-tasking and multuser functions. Its portability allows it to run on different hardware platforms. It was written is
C and lets user do processing and control under a shell.
2) What are filters?
The term Filter is often used to refer to any program that can take input from standard input,
perform some operation on that input, and write the results to standard output. A Filter is
also any program that can be used between two other programs in a pipeline.
3) What is a typical syntax being followed when issuing commands in
shell?
Typical command syntax under the UNIX shell follows the format:
Command [-argument] [-argument] [argument] [file]
4) Is there a way to erase all files in the current directory, including all
its sub-directories, using only one command?
Yes, that is possible. Use rm r * for this purpose. The rm command is for deleting files.
The r option will erase directories and subdirectories, including files within. The asterisk
represents all entries.
5) What is the chief difference between the v and x option s to set?
The v option echoes each command before arguments and variables have been
substituted for; the x option echoes the commands after substitution has taken place.
6) What is Kernel?
Kernel is the UNIX operating system. It is the master program that controls the computers
resources, allotting them to different users and to different tasks. However, the kernel
doesnt deal directly with a user. Instead, it starts up a separate, interactive program, called
a shell, for each user when he/she logs on.
7) What is Shell?
A shell acts as an interface between the user and the system. As a command interpreter,
the shell takes commands and sets them up for execution.
An inode is an entry created on a section of the disk set aside for a file system. The inode
contains nearly all there is to know about a file, which includes the location on the disk
where the file starts, the size of the file, when the file was last used, when the file was last
changed, what the various read, write and execute permissions are, who owns the file, and
other information.