Lab 4

In this lab we learn the functions of various commands using a linux terminal.Most of these commands pertain to ownership. The commands are listed below with a description and screenshot of its behaviour.

command chmod: Used to change permissions on a filechmod

command su: Allows you to log in as another user

su

command sudo: Allows you to use commands as a superusersudo

command chown: Used to change the owner of a file chown

command passwd: Used to change your passwordpasswd

command ps: Used to create/see a snapshot of processesps

command kill: Used to end or “kill” a process (killed the bash i was in)kill

command printenv: Used to show a list of environment variablesprintenv

Leave a Reply

Your email address will not be published. Required fields are marked *