linux-pipes
Queries the list of named pipe (FIFO) files on a Linux system. Runs find / -type p to search the entire filesystem and collects metadata including the path, size, permissions, and timestamps of pipe files.
Command properties
| Property | Value |
|---|---|
| Command type | Driver query |
| Required permission | Administrator |
| License usage | Counted |
| Parallel execution | Not supported |
| Distributed execution | Runs on Data Node (mapper) |
Syntax
Output fields
| Field | Type | Description |
|---|---|---|
file_path | string | Absolute path of the pipe file |
file_name | string | Pipe file name |
file_type | string | File type. Always returns file for pipe files. |
permissions | string | File permission string. Combines a p (pipe indicator) prefix with the rwxrwxrwx format (e.g., prw-r--r--). |
file_size | long | File size (bytes) |
file_ctime | timestamp | File creation time |
file_mtime | timestamp | Last modification time |
file_atime | timestamp | Last access time |
owner_read | boolean | Whether the owner has read permission |
owner_write | boolean | Whether the owner has write permission |
owner_execute | boolean | Whether the owner has execute permission |
group_read | boolean | Whether the group has read permission |
group_write | boolean | Whether the group has write permission |
group_execute | boolean | Whether the group has execute permission |
others_read | boolean | Whether others have read permission |
others_write | boolean | Whether others have write permission |
others_execute | boolean | Whether others have execute permission |
Error codes
Parsing errors
| Error code | Message | Description |
|---|---|---|
95040 | no-read-permission | A user without administrator privileges executed the command |
Runtime errors
N/A
Description
The linux-pipes command runs find / -type p to search the entire filesystem for named pipe (FIFO) files. For each pipe file found, it reads the file attributes and collects the path, size, timestamps, and permission information.
The permissions field prepends a p character to indicate a pipe, in addition to the standard permission string. For example, a pipe file where the owner has read and write permissions is returned as prw-------.
When a query cancellation is requested, the pipe file search is stopped immediately.
Examples
-
Query all pipe files
linux-pipesQueries all named pipe files on the system.
-
Filter pipe files in a specific directory
linux-pipes | search file_path == "/tmp/*"Filters only pipe files under the
/tmpdirectory. -
Query pipe files with write permission for others
linux-pipes | search others_write == trueQueries pipe files where others have write permission.