Grep

AWK(1) - General Commands Manual

Grep, Sed, Script, Lex, Printf, Cut, Strftime, Re_format, Date, Awk

AWK(1) - General Commands Manual # AWK(1) - General Commands Manual NAME # awk - pattern-directed scanning and processing language SYNOPSIS # awk [-safe] [-V] [-d[n]] [-F fs | –csv] [-v var=value] [prog | -f progfile] file … DESCRIPTION # awk scans each input file for lines that match any of a set of patterns specified literally in prog or in one or more files specified as -f progfile. With each pattern there can be an associated action that will be performed when a line of a file matches the pattern. ...

GREP(1) - General Commands Manual

Gzip, Sed, Re_format, Ex, Ed, Grep

GREP(1) - General Commands Manual # GREP(1) - General Commands Manual NAME # grep, egrep, fgrep, zgrep, zegrep, zfgrep - file pattern searcher SYNOPSIS # grep [-abcEFGHhIiLlnoqRsUVvwxZ] [-A num] [-B num] [-C[num]] [-e pattern] [-f file] [-m num] [–binary-files=value] [–context[=num]] [–label=name] [–line-buffered] [–null] [pattern] [file …] DESCRIPTION # The grep utility searches any given input files, selecting lines that match one or more patterns. By default, a pattern matches an input line if the regular expression (RE) in the pattern matches the input line without its trailing newline. ...

LOOK(1) - General Commands Manual

Grep, Sort, Look

LOOK(1) - General Commands Manual # LOOK(1) - General Commands Manual NAME # look - display lines beginning with a given string SYNOPSIS # look [-df] [-t termchar] string [file] DESCRIPTION # The look utility displays any lines in file which contain string as a prefix. As look performs a binary search, the lines in file must be sorted. If file is not specified, the file /usr/share/dict/words is used. Only alphanumeric characters are compared and the case of alphabetic characters is ignored. ...

PKILL(1) - General Commands Manual

Grep, Sigaction, Kill, Ps, Re_format, Pkill

PKILL(1) - General Commands Manual # PKILL(1) - General Commands Manual NAME # pgrep, pkill - find or signal processes by name SYNOPSIS # pgrep [-flnoqvx] [-d delim] [-G gid] [-g pgrp] [-P ppid] [-s sid] [-T rtable] [-t tty] [-U uid] [-u euid] [pattern …] pkill [-‌signal] [-fIlnoqvx] [-G gid] [-g pgrp] [-P ppid] [-s sid] [-T rtable] [-t tty] [-U uid] [-u euid] [pattern …] DESCRIPTION # The pgrep command searches the process table on the running system and prints the process IDs of all processes that match the criteria given on the command line. ...

SED(1) - General Commands Manual

Ed, Awk, Re_format, Grep, Sed

SED(1) - General Commands Manual # SED(1) - General Commands Manual NAME # sed - stream editor SYNOPSIS # sed [-aEnru] [-i[extension]] command [file …] sed [-aEnru] [-e command] [-f command_file] [-i[extension]] [file …] DESCRIPTION # The sed utility reads the specified files, or the standard input if no files are specified, modifying the input as specified by a list of commands. The input is then written to the standard output. ...