Linux Command Directory
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.
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.
Display commands for mformat that can reproduce the current attributes and settings for a given disk.