Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Let The Music Play: Join EFF Today

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 213 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

getfattr



SYNOPSIS

       getfattr [-hRLP] -n name [-e en] pathname...
       getfattr [-hRLP] -d [-e en] [-m pattern] pathname...


DESCRIPTION

       For  each  file,  getfattr displays the file name, and the
       set of extended attribute names  (and  optionally  values)
       which are associated with that file.

       The output format of getfattr -d is as follows:
               1:  # file: somedir/
               2:  user.name0="value0"
               3:  user.name1="value1"
               4:  user.name2="value2"
               5:  ...

       Line  1  identifies  the file name for which the following
       lines are being reported.  The remaining lines (lines 2 to
       4 above) show the name and value pairs associated with the
       specified file.

   OPTIONS
       -n name, --name=name
           Dump  the  value  of  the  named  extended   attribute
           extended attribute.

       -d, --dump
           Dump  the values of all extended attributes associated
           with pathname.

       -e en, --encoding=en
           Encode values after retrieving them.  Valid values  of
           en are "text", "hex", and "base64".  Values encoded as
           text strings are enclosed in double quotes ("),  while
           strings encoded as hexidecimal and base64 are prefixed
           with 0x and 0s, respectively.

       -h, --no-dereference
           Do not follow symlinks.  If  pathname  is  a  symbolic
           link,  the  symbolic  link  itself is examined, rather
           than the file the link refers to.

       -m pattern, --match=pattern
           Only include attributes with names matching the  regu­
           lar expression pattern.  The default value for pattern
           is "^user\\.", -m which includes all the attributes in
           the  user  namespace.   Refer  to  attr(5)  for a more
           detailed discussion on namespaces.

       --absolute-names
           Do not strip  leading  slash  characters  ('/').   The
           default  behaviour  is  to strip leading slash charac­

       -P, --physical
           Physical  walk,  skip  all  symbolic links.  This also
           skips symbolic link arguments.

       --version
           Print the version of getfattr and exit.

       --help
           Print help explaining the command line options.

       --  End of command line options.  All remaining parameters
           are interpreted as file names, even if they start with
           a dash character.


AUTHOR

       Andreas Gruenbacher, <a.gruenbacher@computer.org> and  the
       SGI XFS development team, <linux-xfs@oss.sgi.com>.

       Please   send  your  bug  reports  or  comments  to  these
       addresses.


SEE ALSO

       setfattr(1), and attr(5).

Dec 2001               Extended Attributes            GETFATTR(1)
  

Looking for a "printer friendly" version?


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds