Have you failed a job interview?
Send us your job interview questions and get correct answers.
What is a difference between chown and chmod in Linux?
Experience Level: Junior
The chown command is an abbreviation for “changing owner”, you can use it for changing ownership of files, directories or symbolic links. The chmod command handles what users can do with a file once they have access to it, the chown command assigns ownership.
Related Linux job interview questions
How do you switch back to the last working directory in Linux?Linux Junior
How do you autocomplete a command in a Linux terminal?Linux Junior
What is sed command used for in Linux?Linux Junior
What is userdel command used for in Linux?Linux Junior
What is useradd command used for in Linux?Linux Junior