• Register
0 votes
45 views

Problem:

You must change ownership of a script called myscript so that only the user owner has read/write access to it and only the user owner and group owner have execute permissions. which of the following commands would accomplish this?

a. chmod 771 myscript
b. chmod 750 myscript
c. chmod 755 myscript
d. chmod 611 myscript

5 3 2
5,640 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

chmod 750 myscript

5 3 1
10,860 points

Related questions

0 votes
1 answer 15 views
15 views
Problem: You are trying to debug a shell script called myscript and to aid you in this task you would like to have the output of the script be recorded in a text file. Which command would satisfy your requirements?
asked Apr 12, 2020 ArifulIslam 5.6k points
0 votes
2 answers 44 views
44 views
Problem: What would you enter at the command prompt to start a new Bourne-again shell (bash) session?
asked Apr 18, 2020 ArifulIslam 5.6k points
0 votes
1 answer 136 views
136 views
Problem: What would you enter at the command prompt to start a new Bourne-again shell (bash) session?
asked Mar 9, 2020 ArifulIslam 5.6k points
0 votes
2 answers 143 views
143 views
Problem : I am stuck because of following weired error error in sort.list(y) : 'x' must be atomic for 'sort.list' have you called 'sort' on a list?
asked Nov 15, 2019 peterlaw 6.9k points
0 votes
1 answer 5 views
5 views
Problem: I have tried all sorts of things like clearing Derived Data(Preferences->Locations->click gray arrow to open Derived Data folder in Finder->right-click, move to trash), cleaning the project(CMD+Shift+K or Product->Clean), updating carthage and dependencies, checked other answers on StackOverflow (mostly adjustments in Build Settings/Phases), and recloned the app from github, etc.
asked Dec 22, 2020 Mashhoodch 5.6k points
1 vote
1 answer 15 views
15 views
Problem: Hello Kodlogs, I am a Linux user and currently running Ubuntu 18.04 LTS distribution on my machine. I’ve written a sample python program and trying to execute it through the Linux terminal. My sample program is saved as samle.py and I put a command ... command not found Why this is happening? Could you please give a hint? How could I overcome the error? Thanks for enlightening me.
asked Aug 1, 2020 adamSw 11.3k points
0 votes
1 answer 46 views
46 views
Problem : I have below div within a div within a div: <div id="wrapper" class="center"> <div id="content" class="center"> <div id="listDiv" class="center"> <ul> <li><a href='#' id="1" >My Link one</a> </li> <li><a href='#' id="2" >My Link ... div, but for each list item to be left justified below my other. Everything I have tried centers my list items to each other. What am I missing in my code?
asked Jan 28, 2020 jwilliam 3.9k points
0 votes
2 answers 39 views
39 views
Problem: Each SCSI device attached to a system must be assigned an ID number. What is this ID number called?
asked Apr 6, 2020 ArifulIslam 5.6k points
0 votes
1 answer 12 views
12 views
It seems to me like the files run the same without that line.
asked Oct 25, 2020 psandprop 2.4k points
0 votes
1 answer 19 views
19 views
I wonder if you could change the value of an external input variable that is treated as a function parameter, I remember seeing a way to do it but I don't remember very well. Suppose we use a function for the sum of two numbers, which has two parameters, the first ... of the sum =" << number << endl; The result of the sum should be stored in the variable. Would this procedure really work?
asked Oct 1, 2020 sasha 5.3k points