Class-08 |Chapter -1 | LINUX: Open Source Operating System
Answer the Following
questions | By :- Ashok Sir
Q1. What is Linux?
Ans:
Linux is an Open Source Operating system that can be downloaded freely from the
internet.
Q2. Write any three rules you should
follow while naming a file in Linux system?
Ans:
The three rules you should follow while naming a file in Linux System are:-
a)
A File name up to 28 Character long.
b)
A File name cannot have a space in between the character.
c)
All lowercase characters are different from uppercase characters.
Q3. Difference between the Kernel and Shell?
Ans:
1. Kernel is the core of Linux Operating System. |
1. Shell is a special program that acts as an interface
between the user and the Linux operating system. |
2. Its main task to control the resources of the computer
system like Input, output and storage devices. |
2. Its main tasks to interpret the commands given by the user to
language that can understand by operating system. |
Q4. What are wild cards? Write any
three wild cards with their functions and example.
Ans:
Special symbol that help in accessing multiple files in a command are called
Wildcards.
Wildcard |
Function |
Example |
Explanation |
? |
Matches a single character |
a? |
All file name begins with ‘a’ and followed by any character. |
* |
Matches any number of character |
a* |
All file name begins with ‘a’ and followed by any number
characters. |
[-] |
Matches from the rang specified with the brackets |
[a-e] |
All file name begins with between ‘a’ to ‘e’. |
Q5.
What are directories? Write any three directories used in Linux.
Ans:
Directories is a Folder that contains a collection of files in computer system.
The
following directories used in Linux:-
a) /root – Primary director of root.
b) /home – Each use directories.
c) /var – user specific files stored.
d) /bin – contains all command and utility files.
Q6.
Write any three directory commands with their functions and examples.
Ans:
The following Directory commands are:-
a) ls command – File listing. Example: ls
b) mkdir command – Make a Directory.
Example: mkdir india/Bokaro/jainamore
c) rmdir command – Remove a Directory.
Example: rmdir india/Bokaro/jainamore
Q7.
Write any three file commands with their functions and examples.
Ans:
The following file commands are:-
a)
more command – Display the contents of File.
Example: more computer.txt
b) rm command – Remove a File.
Example: more computer.txt
c) cp command –
Copy a File.
Example: more computer.txt
No comments:
Post a Comment