Lab 4

the command chmod changes the mode of a file.

chmod

the command su switches the current user to another.

su

the command sudo allows for execution of commands as a different user such as a superuser.

sudo

the command chown changes the owner of a file.

chown

the command passwd changes user passwords but normal users can only change their own.

passwd

the command ps takes a snapshot of the current running programs and displays the PID’s.

ps

kill command

The command kill, kills a process identified by its PID.

kill

 

the command printenv displays the current environmental factors.

printenv