Command id id – command displays the user ID, group ID and user groups. Syntax id [options] [username] Options -g prints only the group ID. -n displays the
Command head head – command displays the first few lines of a file to standard output. Syntax head [options] file Options -n nline number of displayed rows. Description
Command gzip gzip – command compress one or more files. Syntax gzip [options] files Options -c displays the output file to standard output and keeps the original file.
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