Lab 4

In Lab 4, I will show how the following commands operate:

chmod

chmod

TheĀ chmodĀ command is use to change the mode or permission of a file or directory.

su

su

TheĀ suĀ is the command that allows you to log in as another user.

sudo

sudo

TheĀ sudoĀ command allows you to execute command Ā as a different user. usually a superuser in a controlled way.

chown

chown

TheĀ chownĀ command is use to change the owner of a file.

passwd

passwd

TheĀ passwdĀ is the command use to change the password of the account logged in.

ps

ps

TheĀ psĀ  command is use to view a snapshot of the processes currently running in the system.

kill

kill 1kill2

TheĀ killĀ command is use to terminate a specific process in the system that is currently running.

printenv

printenv

The commandĀ printenvĀ is use to display a list of the environment variable.

 

 

 

 

Leave a Reply

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