Author: Willie

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

NAME pnmfile – describe a portable anymap SYNOPSIS pnmfile [-allimages] [pnmfile …] DESCRIPTION Reads one or more Netpbm files as input. Writes out short descriptions of the image type, size, etc. This is mostly for use in shell scripts, so the format is not particularly pretty. OPTIONS -allimages Describe every image in each input file. Without this option, pnmfile describes only the first image in each input file. Note that before July 2000, a file could not contain more than one image and many programs ignore all but the first. AUTHOR Copyright (C) 1991 by Jef…

Read More

NAME fcntl – manipulate file descriptor SYNOPSIS #include <unistd.h> #include <fcntl.h> int fcntl(int fd, int cmd, … /* arg */ ); DESCRIPTION fcntl() performs one of the operations described below on the open file descriptor fd. The operation is determined by cmd. fcntl() can take an optional third argument. Whether or not this argument is required is determined by cmd. The required argument type is indicated in parentheses after each cmd name (in most cases, the required type is int, and we identify the argument using the name arg), or void is specified if the argument is not…

Read More

NAME systemd-journald.service, systemd-journald.socket, systemd-journald-dev-log.socket, systemd-journald – Journal service SYNOPSIS systemd-journald.service systemd-journald.socket systemd-journald-dev-log.socket /lib/systemd/systemd-journald DESCRIPTION systemd-journald is a system service that collects and stores logging data. It creates and maintains structured, indexed journals based on logging information that is received from the kernel, from user processes via the libc syslog(3) call, from standard input and standard error of system services or via its native API. It will implicitly collect numerous metadata fields for each log messages in a secure and unfakeable way. See systemd.journal-fields(7) for more information about the collected metadata. Log data collected by the journal is primarily…

Read More