Explanation : We can use the command chmod 711 noname, followed by chmod u+s noname (use
ls -1 noname and check). Else use the single command chmod 4711 noname. What is this "s" anyway? Only the super user has the permission to change /etc/ passwd file. But any user can update it through the passwd (bin/passwd) command. If you type ls-l /bin/passwd you can see the user execution bit set to s instead of x). It is because of this "s". a user can access /etc/passwd through the passwd command, for which he is not otherwise entitled to
Click on Discuss to view users comments.
/bin/passwd has the user execution permission set to 's' because
Explanation : argv  is a pointer to the command (here a.out) and argv  to the first argument.So, argv , refers to the third (since count begins at 0) character of the first argument which is d.
This Section covers Unix Questions Answers .These questions can be used for the preparation of various competitive and academic exams like
UGC NET Computer Science
Pre PhD Entrance Exam
Kendriya Vidyalaya Sangathan Entrance Exam
Undergraduate Computer Science Examinations
Post Graduate Computer Science Test
PhD Entrance Exam
National Eligibility Test (NET)
State Eligibility Test (SET)
Who can benefit
Unix Objective Questions Answers can be used by any student who is preparing for PhD entrance exam, pre PhD entrance exam, entrance exam or any other such exam.
Any student who is preparing for DOEACC exams can also use UNIX questions answers for preparation of his exams.
Unix mcq can be useful for the students who are pursuing any undergraduate or post graduate degree in computer science like BE, ME , Btech, Mtech, .BSc, MSc, BCA, MCA, BS, MS or any other such degree
UNIX mcq with answers and explanation can also be useful for the students who are preparing for any competitive exam or recruitment exams like UGC NET Computer Science, Kendriya Vidyalaya Sangathan PGT exam, PSU, IES or any other such exam.
Unix Operating System is an Elective subject for UGC NET Computer Science.
UNIX multiple choice questions answers can also be used by any candidate who wants to gain credits in UNIX in BS Computer science or MS Computer science.
UNIX mcq questions answers can be used for the preparation of National Eligibility Test (NET) and State Eligibility Test (SET).
You can download UNIX mcq pdf from this site.
You can also get access to UNIX multiple choice questions answers EBook.