Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Linux Files Assessment Test

Useful for hiring

  • Linux System Developer
  • Linux System Engineer
  • Linux System Administrator

Start hiring job-fit candidates using this assessment

GET A DEMO

"We are impressed with Interview Mocha's comprehensive IT skill test batteries and their ability to provide tailor-made assessments quickly. The results we got from Interview Mocha exceeded our expectations, employees found the tests quick, fun, and a benchmark of their knowledge."

Ajay Garg, Siemens,
Associate Manager
Question

What the 'chmod 4777 a.out' will do?

Answer
    • will set the suid bit of a.out

    • will set the suid bit of a.out only if the command is issued by root

    • is not a valid command

    • will set the sticky bit of a.out

Question

A user executes the following command successfully:
 

$ chmod +x file1.txt

Which of the following is TRUE about the output of this command?

Answer
    • The command results in adding execute permission to the user who ran this command
       

    • The command results in adding execute permission for the owner of the file
       

    • The command results in an error since the file is not an executable file
       

    • The command results in adding execute permission for all users (i.e., user,group & others)
       

Question

If you are a root user, how can you grand execute permission only for the owner of the file project1?

Answer
    • chmod +x project1

    • chmod u+x project1

    • chmod a+x project1

    • chmod U+X project1

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO