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
By default how foreground processes areexecuted in Kali Linux?
  • In the terminal window, blocking other commands until completion

Define the paths provided below:

./public_html/cgi-bin & /home/users/c/computerhope/public_html/cgi-bin

  • Absolute
  • Relative
  • Relative & Absolute
  • Absolute & Relative
  • Relative & Absolute