Lab 4

In this lab we learned about changing ownership and file permissions as well as changing identifies with the commands used for it. The commands are listed below with a description and screenshot of what it does.

Commands

A. Chmod: Used to change the mode or permissions of the file.

chmod

B. Su: Switches the current user to another.

Su

C. Sudo: Allows you to use commands as a superuser.

Sudo

D. Chown: Changes the owner of a file.

Chown

E. Passwd: Command used to change the password.

Passwd

F. Ps: Takes a snapshot of the current running programs.

Ps

G. Kill: This command end a process.

Kill

H. Printenv: This displays the current environmental factors.

Printenv

Leave a Reply

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