Lab 4

Command – chmod
IMAG0365[1]
Changes mode or permissions of a file

Command – su
IMAG0366[1]
changes the current user to another user. doesn’t’ work other users are not defined

Command – sudo
IMAG0367[1]
does something as another usually superuser. requires password of the superuser

Command – chown
IMAG0368[1]
Changes owner of a file. requires set owner to exist

Command – passwd
IMAG0369[1]
changes password of current user. a new password must be set, current password cannot be used.

Command – ps
IMAG0370[1]
shows what processes are current active

Command – kill
IMAG0371[1]
kills the target process using the PID

Command – printenv
IMAG0372[1]
IMAG0373[1]
IMAG0374[1]
prints a list of current environment variables

Leave a Reply

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