Computer Science, asked by sharmasundar665, 5 months ago

Suppose you have created a new application, 'myapp', and copied it to the directory usrilocal/bin'.How can you allow all the users of the system to be able to run your application?

chmod o+x usrlocal/bin/myapp
chgrp bin /usrlocal/bin/myapp
umask 0022 usrilocal/bin/myapp chown 755 /usr/focal/bin/myapp​

Answers

Answered by santoshchaurasiya254
0

Answer:

Linux Practice Test

1.3/1/1 multiple alphabetic

SELECT FOR ANSWER

Suppose that you have an application whose behavior depends on the environment variable BAR. Which of the following command lines may be used in a bash shell to configure the application?

A. export $BAR=baz; echo $BAR

B. set BAR=baz

C. BAR=baz ; export BAR

D. echo $BAR=baz

E. declare -x BAR=baz

F. echo BAR=baz

1.3/1/2 alphabetic

SELECT FOR ANSWER

Which of the following commands can be used to assure that a file 'myfile' exists?

A. cp myfile /dev/null

B. touch myfile

C. create myfile

D. mkfile myfile

1.3/2/1 alphabetic

SELECT FOR ANSWER

Which of the following command lines can be used to convert a file containing DOS-style CR-LF line endings into Unix-style LF line endings? Assume for this question that the DOS-style file is called 'dosfile', and we want the modified contents in 'unixfile'

A. sed 's/\r//' dosfile > unixfile

B. tr -d '\r' < dosfile > unixfile

C. dos2unix dosfile unixfile

D. strip '\r' < dosfile > unixfile

1.3/2/2 alphabetic

SELECT FOR ANSWER

Explanation:

pls push my rank and Mark as brainliest answer

Similar questions