What is chattr command in Linux command-line utility. Chattr (Change Attribute) is a Linux command-line utility that sets…