Command file file – command displays the type of data file based on rules defined in the file /usr/lib/magic (known as the magicfile). Syntax file [options] files Options
Command dos2unix dos2unix command converts a text file format DOS/Mac to UNIX format. Syntax dos2unix [options] [-o file ...] [-n source_file destination_file ...] Options -h displays help about
Command diff diff command shows the differences between two text files (or all files with the same names in two different directories). Syntax diff [options] first_file a second_file
Command chgrp chgrp command changes the owner group of one or more files. Syntax chgrp [-cfvR] group files Options -c displays only files with modified group owner. -f
Command cp cp – command copies files and directories. Syntax cp [options] source_file destination_file cp [options] source_file destination_directory Options -a preserves all the attributes of a file. -b
Command cmp cmp – command performs byte comparison of two files. Syntax cmp [options] file1 file2 Options -l displays the byte number (decimal) and the differing bytes (octal)
Command chown chown – command changes the owner or group ownership of a file. Syntax chown [cvfR] username:groupname files Options -c displays only files with the change in
Command chmod chmod – command changes the permissions of one or more files. Syntax chmod [-cfvR] permissions files Options -c displays only files with changed permissions. -f suppress
Command chgrp chgrp – command changes the owner group of one or more files. Syntax chgrp [-cfvR] group files Options -c displays only files with modified group owner.