The ‘chflags’ command changes the flags of file system objects. It can be used to hide or reveal files.