added file permission reference and history cmd