Author: lc-root

grep [Command]

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
Read More

find [Command]

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,
Read More

file [Command]

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
Read More

dos2unix [Command]

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
Read More

diff [Command]

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
Read More

chgrp [Command]

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
Read More

cut [Command]

Command cat cat – command copy the file to standard output (screen). View the contents of a file and it is also used for creating a new file
Read More

cp [Command]

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
Read More

cmp [Command]

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)
Read More

chown [Command]

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
Read More