UNIX/LINUX Command – logger

March 2, 2019

Comments

Adsense

Adsense

Adsense

Adsense

NAME

logger—Make entries in the system log

SYNOPSIS

logger [-is] [-f file] [-p pri] [-t tag] [message …]

DESCRIPTION

logger provides a shell command interface to the syslog(3) system log module.

OPTIONS

Options Description
-i Log the process ID of the logger process with each line.
-s Log the message to standard error, as well as the system log.
-f file Log the specified file.
-p pri Enter the message with the specified priority. The priority may be specified numerically or as a facility.level pair. For example, –p local3.info logs the message(s) as informational level in the local3 facility. The default is user.notice.
-t tag Mark every line in the log with the specified tag.
message Write the message to log; if not specified, and the -f flag is not provided, standard input is logged.

 The logger utility exits 0 on success, and >0 if an error occurs.

Satish Kumar

Satish Kumar

I am Satish Kumar, Founder of LinuxConcept. Linux and F.O.S.S enthusiast, love to work on open source platform and technologies.

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Adsense

Related Posts

UNIX/LINUX Command – strip

UNIX/LINUX Command – strip

NAME strip—Discard symbols from object files. SYNOPSIS strip [ -Fbfdname|–target=bfdname ] [ -Ibfdname|–input-target=bfdname ] [ -Obfdname|–output-target=bfdname ] [-Rsectionname|–remove-section=sectionname ] [ -s|–strip-all ] [-S|-g|–strip-debug ][-x|–discard-all...

UNIX/LINUX Command – expand

UNIX/LINUX Command – expand

NAME expand—Convert tabs to spaces SYNOPSIS expand [–tab1[,tab2[,…]]] [–t tab1[,tab2[,…]]] [–i] [—tabs=tab1[,tab2[,…]]] [–initial] [–help] [–version] [file…] DESCRIPTION This manual page documents the GNU version of expand. expand writes the contents of each given...

0 Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

1 × five =

News & Updates

Join Our Newsletter

Adsense

Adsense

Adsense

Adsense