Command grep grep – command provides search in one or more files, lines that match the regular expression (search patterns). Syntax grep [options] pattern files Options -N (where
Command find find – command displays a list of files that match a given set of criteria. Syntax find [path] [options] Options -depth first processing the current directory,
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