1. Homepage
  2. Exam
  3. [2020] COMP2002 Unix Systems Programming - Final Assessment - Q1 Find and Grep

[2020] COMP2002 Unix Systems Programming - Final Assessment - Q1 Find and Grep

This question has been solved
Engage in a Conversation

Question 1 (20 marks) CourseNana.COM

(a) Assume you have (and own) many python and shell scripts in a various directories both in and under /scripts. Your cwd is $home. Use the find command to remove all rights from all other users to all of these scripts, but not any other files in these directories. [10 marks] CourseNana.COM


CourseNana.COM


CourseNana.COM

(b) The file /var/log/wtmp contains the recent login/logout activity for all the users. As this is not an ascii file, you need to use the last command to view the contents. Your supervisor requires a list of everyone who has logged in and out again between 1000 to 1500. Write a minimal Unix command using grep to accomplish this. [10 marks] CourseNana.COM

CourseNana.COM

Get the Solution to This Question

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
COMP2002代写,Unix Systems Programming代写,Curtin University代写,COMP2002代编,Unix Systems Programming代编,Curtin University代编,COMP2002代考,Unix Systems Programming代考,Curtin University代考,COMP2002help,Unix Systems Programminghelp,Curtin Universityhelp,COMP2002作业代写,Unix Systems Programming作业代写,Curtin University作业代写,COMP2002编程代写,Unix Systems Programming编程代写,Curtin University编程代写,COMP2002programming help,Unix Systems Programmingprogramming help,Curtin Universityprogramming help,COMP2002assignment help,Unix Systems Programmingassignment help,Curtin Universityassignment help,COMP2002solution,Unix Systems Programmingsolution,Curtin Universitysolution,