Assignment on Linux Tools
1. What
is shell?
Answer: Shell is
a program that takes commands from
the keyboard and gives them to the operating system to perform
2.
what is terminal ?
Answer: A computer
terminal is an electronic or electromechanical hardware device that can be
used for entering data into, and transcribing data from,
a computer or a computing system
3.What
is user friendly in between terminal and GUI & why?
Answer: GUI is
more user-friendly, and CLI is more advanced and powerful.
4. What
defines a user account?
Answer: A user account is an identity
created for a person in a computer or computing system. User
accounts can also be created for machine entities, such as
service accounts for running programs, system accounts for
storing system files and processes, and root and
administrator account for system administration
5. What
is root user?
Answer: The root is
the user name or account that by default
has access to all commands and files on a Linux or other Unix-like operating system.
6. What
is general purpose user?
Answer: A general-purpose computer is one
that, given the appropriate application and required time, should be able to
perform most common computing tasks. Personal computers, including desktops,
notebooks, smartphones and tablets, are all examples
of general-purpose computers.
7. What
are the difference between root user and general purpose user?
Answer: Root user can do any change in an operating system while
general purpose user do not have that privilege.
8. What
is the meaning of sudo?
Answer: Sudo stands for "superuser do".
9. What
is the meaning of su?
Answer: It means substitute user
10. Why we use sudo?
Answer: We use sudo to get the administrator or delegate authority power to us.
11.
why do we use su ?
Answer: The most common use of
the su is to get superuser privileges. It is often mistaken
as an abbreviation for “superuser”, but it is an abbreviation for
“substitute user”. When using su, we can run it with
or without the – argument
12. How
to create a user account?
Answer: From the terminal typing "sudo adduser" followed by a space and the target user's username and then typing target user's password when prompted.
13. How to delete a
user?
Answer: From the terminal typing "sudo deluser" followed by a space and the target user's username and then typing target user's password when prompted.
14 .How to login into a user
account?
Answer: From the terminal typing "sudo" followed by a space and the target user's username and then typing target user's password when prompted.
15.How to logout from a user
account?
Answer: By clicking the Log Out button.
16. How many times it
requires password for creating a user account?
Answer: It takes 2 times
17. How to exit from root?
Answer: By press CTRL + D
18. What is the meaning
of sudo adduser {username}?
Answer: It means creating a user account
19. What is the meaning
of deluser {username}?
Answer: It means deleting user account
20. What is the meaning
of sudo su?
Answer: It means we can run a program being a root user.