• Register
0 votes
90 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
7,520 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

chmod 750 myscript

6 4 2
14,580 points

Related questions

0 votes
1 answer 19 views
19 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 7.5k points
0 votes
1 answer 2 views
2 views
Problem: Is there a way to run a matlab script from linux command line? For instance, I have the following simple script "test.m": x = [1,2,3]; y = [2;3;4]; prod = x*y disp(prod) So what I want is to be able to execute that script from the linux command ... linux command line. I know that you can do that with python e.g., ~$ python test.py but was wondering if the same can be achieved with matlab.
asked 6 days ago nabin shrestha 2.6k points
1 vote
1 answer 2 views
2 views
Problem: How to accomplish rining R code from command line. Run r script from command line windows.
asked Mar 25 PkGuy 13.1k points
0 votes
1 answer 8 views
8 views
Problem: How to run python script from command line ?
asked Mar 2 Ashty 5.7k points
0 votes
1 answer 3 views
3 views
Problem: Hi! I need help with this if some body can guide? change computer name command line windows 7
asked Mar 19 PkGuy 13.1k points
0 votes
2 answers 61 views
61 views
Problem: What would you enter at the command prompt to start a new Bourne-again shell (bash) session?
asked Apr 18, 2020 ArifulIslam 7.5k points
0 votes
1 answer 204 views
204 views
Problem: What would you enter at the command prompt to start a new Bourne-again shell (bash) session?
asked Mar 9, 2020 ArifulIslam 7.5k points
0 votes
1 answer 4 views
4 views
Problem: I tried to find out the solution on the web when I face this problem but I did not get any fruitful information that I can continue if you read the above question and understand what is the solution of this please cooperate with me- Thanks
asked Mar 24 shamimkhan 15.1k points
0 votes
1 answer 4 views
4 views
Problem: Hello! I want to know that how many types of SQL commands are there and how do we use them. Please give example for each type of command. Thank you!
asked Mar 19 Code Learner 9.2k points
0 votes
1 answer 4 views
4 views
Problem: As I mentioned in my previous query, I'm having difficulties with my learning; I've tried searching the web but haven't been able to find adequate information; could you assist me in continuing my project?
asked Mar 29 tuhin1 47.2k points