oreilly.comSafari Books Online.Conferences.


Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.


mattrib [options] filenames

Change attributes of MS-DOS files. See mtools for more information.


To set an attribute, use one of the following letters preceded by a + (to turn the attribute on) or - (to turn it off):


Archive; mark the file as a new file that should be archived by backup programs.




System; files with this attribute are marked as operating system files.


Hide this file when displaying directory contents with DIR.



When listing attributes, descend into all subdirectories recursively.


Concise output.


Display commands for mformat that can reproduce the current attributes and settings for a given disk.

Linux Resources
  • Linux Online
  • The Linux FAQ
  • Linux Kernel Archives
  • Kernel Traffic

  • Sponsored by: