How to do it...

Once we have confirmed all the requirements mentioned in the previous section, we can move on to see how to use extended attributes:

  1. First, we will create a test file with some dummy data in it:

  1. Now, we will add an extended attribute to this file using the setfattr command:

  1. Now, let's determine the attributes on the file, using the getfattr command:

  1. If we want to check the values of the attributes, we can do that by using the following command:

  1. At any time, if we want to remove any attribute, we can do the same using the setfattr command, but with the -x option.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.136.170