The permission bits of a file noname. can be set to _rws_ _x_ _x by the command.
A. | chmod 711 noname |
B. | chmod go -rw noname |
C. | chmod 2711 noname |
D. | None of the above |
Option: D Explanation : Click on Discuss to view users comments. |
/bin/passwd has the user execution permission set to 's' because
A. | This facility assigns to the user, permissions of the program owner. temporarily |
B. | It should allow users who don't have write permission to /etc/passwd to write to it |
C. | /etc/passwd is write protected |
D. | All of these |
Option: D Explanation : Click on Discuss to view users comments. |
If one doesn't want anyone else to read or write to a file named datfile, except through a program in a file filex , then he may use
A. | chmod u+s filex ; chmod go_rw datfile |
B. | chmod 4711 filex ; chmod go_rw datfile |
C. | chmod 4711 datfile ; chmod go_rw filex |
D. | Both (a) and (b) |
Option: D Explanation : Click on Discuss to view users comments. |
Writing a C program that accepts input from keyboard, rather than from a file is advantageous because
A. | Keyboard is a file that is already open |
B. | It can be used in a pipe, if it writes to stdout |
C. | Both (a) and (b) |
D. | None of the above |
Option: C Explanation : Click on Discuss to view users comments. |
Consider the following command that invokes the executable file a.out, with the following command line arguments a .out God loves you
argv( [1][2] )corresponds to the character
A. | e |
B. | o |
C. | y |
D. | d |
Option: D Explanation : Click on Discuss to view users comments. |
Syllabus covered in this section is-
This Section covers Unix Questions Answers .These questions can be used for the preparation of various competitive and academic exams like
Who can benefit
Various Search Terms Used For This Section Are