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

Linux operating system How do I do this? Question 2 (1 point) For Answer 1, list

ID: 3878511 • Letter: L

Question

Linux operating system How do I do this?

Question 2 (1 point)

For Answer 1, list the permissions for the file at the path, /etc/hosts, on Thor. For example, the permissions for the directory /tmp on Thor are "rwxrwxrwt" without the quotes. Do not use quotes or spaces in your answer. Do not include any '*' character in your answer.

For Answer 2, paste the path to the wolfram program on Thor. For example, the path to the sudo command on Thor is "/usr/bin/sudo" without the quotes. Do not use quotes or spaces in your answer. Do not include any '*' character in your answer.

For answer 3, paste the permissions for the directory at path /root. Do not use quotes or spaces in your answer. Do not include any '*' character in your answer. [Hint: you may need to use the -d option with the ls command.]

Question 2 options:

Explanation / Answer

1. ls -l /etc/hosts

ls -l lists the file along with its information like permissions, owner, group, size etc. The first column shows the permissions

2. pwd wolfram

pwd shows the path to a particular file or program. If wolfram is not a standard executable in Thor, you need to be in wolfram's parent directory

3. ls -ld /root

I've told you about what the ls -l does. Adding a -d option, lists the directory instead of the contents of the directory

Hope this helps. Do Upvote! :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote