0% found this document useful (0 votes)
13 views

What Is Shell and Scripting

This document discusses network operating system concepts including: 1. The kernel manages computer operation and hardware as the core of the operating system, while the shell is an interface between the user and kernel. 2. Common shells include BASH, C shell, Korn shell, and Z shell. BASH is the default shell for most Linux systems and can run on Unix-like operating systems. 3. Commands like mkdir, rmdir, touch, cat and rm are used to create, read, and delete directories and files. Useradd and userdel commands are used to create and delete users in Linux.

Uploaded by

khalid shinwari
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

What Is Shell and Scripting

This document discusses network operating system concepts including: 1. The kernel manages computer operation and hardware as the core of the operating system, while the shell is an interface between the user and kernel. 2. Common shells include BASH, C shell, Korn shell, and Z shell. BASH is the default shell for most Linux systems and can run on Unix-like operating systems. 3. Commands like mkdir, rmdir, touch, cat and rm are used to create, read, and delete directories and files. Useradd and userdel commands are used to create and delete users in Linux.

Uploaded by

khalid shinwari
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Question and answer for network operating system.

Unit: #8 issue

Member of group.
1. Fazal malik (Mukhbit)
2. Tasal ( Danish)
3. Zakir ullah (Shagiwal)
4. Sediqullah (Zaland)
What is kernel?
• The kernel is a computer program at the core of a computer’s
operating system that manages operation of computer and hardware.

• What is a shell?
• Shell is a program and command line interpreter it is an interface
between user and kernel.
• What is different between shell and kernel?
kernel shell

A computer program which acts is A computer program which works


the core of the computer is the interface to access the
operating system. services provide by the operating
system.
Core of the system that controls all Interface between the kernel and
tasks of the system. user.
Does not have type Has type such as is
C shell korn shell
Bourn shell etc………
What are the different type of shell?
1. GNU Bourne-Again shell (bash)
2. C shell (csh)
3. Korn shell (ksh)
4. TCSH shell
5. Z shell (zsh)
What is BASH(Bourn-again shell)?
• BASH is a free software unix shell written for the GNU project
• Bash is the default shell on most system built on top of the linux
kernel as well as on Mac osx and it can be run on most unix-like
operating system.
• How to create and delete a directory?
1. Mkdir command is used for creating a dirctroy
e.g. # Mkdir file name
2. Rmdir command is used for remove directory
e.g. #rmdir filename
How to create, read and delete files?
1. Touch command is used for creating files.
• e.g. touch filename.
2. Cat command is used for reading files.
e.g. # cat filename.
3. Rm command is used for delete a file.
e.g. # rm-f filename.
How to create and delete a user in Linux?
1. For creating a user.
Use the command user add ‘’name of the user’’(for example;#user add
Zakirullah Shagiwal.
2. For delete a user:
-use the command userdel’’name of the user’’(for example:#userdel
Zakirullah Shagiwal)
Multiple choice question?
Nano command is use for:
a) To read the text .
b) To create the text.
c) For text editor. The bold is answer for student to
understanding.
d) A and C is correct.
The developer of korn-shell is ?
a) Bill Toy.
b) David korn.
c) Jon korn.
d) B is correct.
Sudo stands for.
e) Substitute user do.
f) Super user do.
g) A and B is correct.
h) B is correct.
C shell is modeled after programming
language:
a) C programming language.
b) Java programming language.
c) C# programming language.
d) C++ programming language.
BCD stands for.
e) Best software Distribution .
f) Bash software Distribution.
g) Berkeley software Distribution.
h) B is correct.
The u name command shorts for:
a) Unix name.
b) File name.
c) Directory name.
d) Command name.
How many permission do you have?
a) 2 answer
b) 3
c) 6
d) None
• What does it mean (rwx) permission?
a) Read and write
b) Only read
c) Read,write,execute
d) none
• How many permission do you have tell the name of this ?
a) Absolute (numeric)mode
b) Symbolic mode
c) Both
d) None
• What does it mean (r-x) permission?
a) Read
b) Write
c) Execute
d) None
• What does it mean (r-w) permission?
a) Read
b) Write
c) Read and write
d) C) is correct
• What does it mean (x-w) permission?
a) Read
b) write
c) Execute
d) none

You might also like