Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

LINUX/UNIX 1) Write a single command line that will change the permissions on yo

ID: 3770116 • Letter: L

Question

LINUX/UNIX

1)   Write a single command line that will change the permissions on your home directory so that you and members of your group can change into it, but others cannot.

2   Write a single command line that defines the variables N=444, M=555, O as the product (multiple) of N and M, and then echoes the value of O.

3)   Write a single command line that uses netstat and grep to count all connections in a state of “ESTABLISHED” and outputs a single number representing how many connections are currently open to the server.

Explanation / Answer

Multiple Questions : Answering 1st Question :

g+rwx is explained below. chmod is the command for changing the permission and /home is the home directory.

Reference Class Description u user the owner of the file g group users who are members of the file's group o others users who are neither the owner of the file nor members of the file's group a all all three of the above, same as ugo