Which of the following statements about /bin and /sbin directories in Linux is correct?
  • /bin contains essential user binaries, while /sbin holds system binaries.
Which of the following commands can be used to compress multiple files into a single gzip archive in Kali Linux?
  • gzip file1 file2 file3
Which command is used to grant execute permission to the group for a file named “script.sh” in Linux?
  • chmod g+x script.sh

How can you grant “read and execute” permissions to the owner and group while revoking all permissions from others for a file named ‘program’ using the symbolic mode?

  • chmod ug+rx,o--- program
What does the command ‘chmod 755 file.txt’ do in Linux?
  • Grants full permissions to the owner and read+execute permissions to group and others