Week
3 Lab Tasks
Md Zishan Kabir Chowdhury
ID NO : 182-15-11449
Section : A
1. What
is shell?
Ans : Shell is an environment where we can run our commands,
programs and shell scripts.
2. What is terminal?
Ans : Terminal is a
program that runs a Shell.
3. What is user friendly
in between terminal and GUI & why?
Ans : GUI is more user friendly than Terminal.
Because in terminal we have to use commands, but in GUI, don’t need to command.
And GUI is a graphical system.
4. What defines a user
account?
Ans : : A user account
is an identity created for a person in a computer or computing system.
5. What is root user?
Ans : On Ubuntu
Linux root is a particular user account.
6. What is general purpose
user?
Ans : A general-purpose user 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 users
7. What are the difference
between root user and general purpose user?
Ans : The main difference between general
purpose and root user is that root user can make changes to the
system while the general purpose user can not.
8. What is the meaning
of sudo?
Ans : sudo stands for
“Super User do”.
9. What is the meaning
of su?
Ans : su stands for
“Substitute User”
10. Why we use sudo?
Ans : The sudo command allows you to run programs with the
security privileges of another user.
11. Why we use su?
Ans: It allows users to execute commands as another user.
12. How to create a user
account?
Ans : Type
useradd followed by a space and the username for the new account you are creating at the command line (for example,
useradd jsmith)
13. How to delete a user?
Ans : Use "sudo userdel
'username'”command.
14. How to login into a
user account?
Ans: Use "sudo login
'username'”command.
15. How to logout from a
user account?
Ans: Use 'logout' command.
16. How many times it
requires password for creating a user account?
Ans : 2 times.
17. How to exit from root?
Ans : Just
type exit and you will leave the root shell
and get a shell of
your previous user.
18. What is the meaning
of sudo adduser {username}?
Ans: Create new user account.
19. What is the meaning
of deluser {username}?
Ans: Delete user account.
20. What is the meaning
of sudo su?
Ans : Switch to root user with
all the privileges.