execute a command as another user
|
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the
security policy. The real and effective uid and gid are set to match those of the target user, as
specified in the password database, and the group vector is initialized based on the group database
(unless the -P option was specified).
|
print lines matching a pattern
|
-o, --only-matching
Print only the matched (non-empty) parts of a matching line, with each such part on a separate
output line.
|
Matcher Selection
-E, --extended-regexp
Interpret PATTERN as an extended regular expression (ERE, see below). (-E is specified by POSIX.)
|
grep searches the named input FILEs (or standard input if no files are named, or if a single hyphen-minus
(-) is given as file name) for lines containing a match to the given PATTERN. By default, grep prints
the matching lines.
|
-P, --perl-regexp
Interpret PATTERN as a Perl regular expression (PCRE, see below). This is highly experimental and
grep -P may warn of unimplemented features.
|