Linux COM3044 Q01) Create a folder named HandsOn inside of the…
Question Answered step-by-step Linux COM3044 Q01) Create a folder named HandsOn inside of the… Linux COM3044 Q01) Create a folder named HandsOn inside of the /home folder Answer: Q02) Create a new system group named testgroup. Change the group owner of the HandsOn folder to testgroup. Answer: Q03) Set the permissions on the HandsOn folder so that: – sysadmin user and users who are in the sysadmin group would have the full set of permissions. – only users that own the files in that folder should be able to delete the files they own. Answer: Q04) Run the “touch /etc/file.txt” command redirecting errors to a text file named errors.txt. The errors.txt file should be created in the HandsOn folder Answer: Q05) Change the permissions of the errors.txt file so that the root account has the full set of permissions. Answer: a) using letters: b) using octal values: Q06) Create a soft link to the previously errors.txt file. The soft link should be named errors.sl and created in the /etc folder. Answer: Q07) Write a command that would create a new user account. Use the information below when creating the new user account and ensure that the account home directory is made for the new user account:- name: TestU- user id: 555- primary group: TestU- supplementary group: sudo- default shell: /bin/bashAfter the account is created, set the password on the TestU account to be netlab123 Answer: Q08) Write a single command that would move and rename the errors.sl soft link. The soft link should be moved into the /home/HandsOn folder and the new name should be new-errors.sl. Answer: Q09) Change the HandsOn folder permissions so that any new file created in this folder is owned by the group owner of the folder instead of the group owner of the account that creates the file. Answer: Q10) Briefly explain the purpose of the located in the /proc directories named with numbers. Answer: Engineering & Technology Computer Science COMP 3044 Share QuestionEmailCopy link Comments (0)


