📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    âš¡ Azaadi sale - Celebrate Independence Day with Flat 55% Off On all courses! 13 to 17 Aug âš¡ Enroll Now

    Question

    To change mode of myfile to 'rwxr–r–'  , the

    command used is
    A Chmod(myfile,0742). Correct Answer Incorrect Answer
    B Chmod(myfile,0474). Correct Answer Incorrect Answer
    C Chmod(myfile,0747). Correct Answer Incorrect Answer
    D Chmod(myfile,0744) Correct Answer Incorrect Answer
    E All of the above Correct Answer Incorrect Answer

    Solution

    The "chmod" command is used to change the permissions of a file or directory. In this case, the "myfile" is being changed to "rwxr--r--", which means the owner has read, write, and execute permissions, while the group and others have only read permission. The numbers in the command represent the permissions in octal form, with the first digit representing the owner's permissions, the second digit representing the group's permissions, and the third digit representing others' permissions.

    Practice Next
    More IT Networking Questions
    ask-question

    Not sure which exam is best for you Talk to our expert

    Get My Free Call