Skip to content

Commit acddf62

Browse files
committed
Add commands
1 parent 97d3b4f commit acddf62

124 files changed

Lines changed: 11682 additions & 3 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Icon](https://raw.githubusercontent.com/SimonSchubert/LinuxCommandLibrary/master/art/web_hi_res_144.png)
44

5-
The app currently has **4299** manual pages, **23+** basic categories and a bunch of general terminal tips. It works 100% offline, doesn't need an internet connection and has no tracking software.
5+
The app currently has **4420** manual pages, **23+** basic categories and a bunch of general terminal tips. It works 100% offline, doesn't need an internet connection and has no tracking software.
66

77
[![Play Store](https://raw.githubusercontent.com/SimonSchubert/LinuxCommandBibliotheca/master/art/play_store_badge.png)](https://play.google.com/store/apps/details?id=com.inspiredandroid.linuxcommandbibliotheca)
88
[![F-Droid](https://raw.githubusercontent.com/SimonSchubert/LinuxCommandBibliotheca/master/art/fdroid_badge.png)](https://f-droid.org/en/packages/com.inspiredandroid.linuxcommandbibliotheca/)

assets/commands/1password.md

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
# TLDR
2+
3+
**Sign in** to a 1Password account
4+
5+
```op signin```
6+
7+
**List all items** in a vault
8+
9+
```op item list --vault [vault_name]```
10+
11+
**Get details** of a specific item
12+
13+
```op item get "[item_name]"```
14+
15+
**Get specific fields** from an item
16+
17+
```op item get "[item_name]" --fields label=username,label=password```
18+
19+
**Read a secret** using a secret reference
20+
21+
```op read "op://[vault]/[item]/[field]"```
22+
23+
**Run a command** with secrets injected as environment variables
24+
25+
```op run --env-file [.env] -- [command]```
26+
27+
**Create a new item** in a vault
28+
29+
```op item create --category login --title "[title]" --vault [vault_name]```
30+
31+
**List all vaults** in the account
32+
33+
```op vault list```
34+
35+
# SYNOPSIS
36+
37+
**op** [_command_] [_subcommand_] [_flags_]
38+
39+
# PARAMETERS
40+
41+
**account**
42+
> Manage locally configured 1Password accounts
43+
44+
**item**
45+
> Perform CRUD operations on vault items (get, list, create, edit, delete)
46+
47+
**vault**
48+
> Manage vaults and their permissions
49+
50+
**document**
51+
> Manage document-type items (get, list, create, edit, delete)
52+
53+
**read**
54+
> Resolve and retrieve secret references
55+
56+
**run**
57+
> Pass secrets as environment variables to a subprocess
58+
59+
**inject**
60+
> Insert secrets into configuration files or templates
61+
62+
**signin**
63+
> Authenticate to a 1Password account
64+
65+
**signout**
66+
> End the current session
67+
68+
**whoami**
69+
> Display information about the signed-in account
70+
71+
**completion**
72+
> Generate shell completion scripts
73+
74+
**--format** _json_
75+
> Output results in JSON format for parsing with tools like jq
76+
77+
**--fields** _label=field_
78+
> Specify particular fields to retrieve from an item
79+
80+
**--vault** _name_
81+
> Target a specific vault for the operation
82+
83+
**--cache=false**
84+
> Disable daemon caching (useful in restricted environments)
85+
86+
# DESCRIPTION
87+
88+
**op** is the official command-line interface for 1Password, a password manager and secrets management platform. It enables secure access to passwords, credentials, and sensitive data directly from the terminal.
89+
90+
The CLI follows a noun-verb command structure where the first argument is typically a resource type (item, vault, user) followed by an action (get, list, create). It supports both interactive and scripted workflows, making it suitable for development automation and CI/CD pipelines.
91+
92+
Key capabilities include retrieving credentials using secret references in the format **op://vault/item/field**, injecting secrets into environment variables for running processes, and managing vault contents programmatically. The tool uses daemon-based caching on Unix systems to improve performance and reduce API calls.
93+
94+
Items can be referenced by name or by their 26-character alphanumeric ID, with IDs being more stable and efficient for automation. Output can be formatted as JSON for integration with tools like **jq**.
95+
96+
# CAVEATS
97+
98+
Requires a 1Password account and must be authenticated before most operations. The daemon caching feature stores encrypted data in memory, which may not be suitable for all security environments—use **--cache=false** to disable. Service accounts have different authentication flows than personal accounts.
99+
100+
# HISTORY
101+
102+
1Password was founded by **AgileBits** in **2006** as a password manager for macOS. The command-line interface was first released in **2017** to support developer workflows and automation. Version 2 of the CLI, released in **2022**, introduced the current noun-verb command structure, secret references, and improved service account support for CI/CD integration.
103+
104+
# SEE ALSO
105+
106+
[pass](/man/pass)(1), [gopass](/man/gopass)(1), [vault](/man/vault)(1), [gpg](/man/gpg)(1)

assets/commands/aa-notify.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# TLDR
2+
3+
**Display summary** of AppArmor denials since last login
4+
5+
```aa-notify --since-last```
6+
7+
**Show summary** for the last N days
8+
9+
```aa-notify --since-days [7]```
10+
11+
**Poll logs** and display desktop notifications
12+
13+
```aa-notify --poll --user [username] --display $DISPLAY```
14+
15+
**Search a specific file** for AppArmor messages
16+
17+
```aa-notify --file [/var/log/audit/audit.log]```
18+
19+
**Show verbose messages** with summaries
20+
21+
```aa-notify --since-days [3] --verbose```
22+
23+
**Wait before displaying notifications** (useful at startup)
24+
25+
```aa-notify --poll --wait [10]```
26+
27+
# SYNOPSIS
28+
29+
**aa-notify** [_options_]
30+
31+
# PARAMETERS
32+
33+
**-p**, **--poll**
34+
> Poll AppArmor logs continuously and display desktop notifications for DENIED messages
35+
36+
**-f** _FILE_, **--file=**_FILE_
37+
> Search FILE for AppArmor messages instead of the default log locations
38+
39+
**-l**, **--since-last**
40+
> Show summary of messages since last login
41+
42+
**-s** _NUM_, **--since-days=**_NUM_
43+
> Show summary of messages for the last NUM days
44+
45+
**-u** _USER_, **--user=**_USER_
46+
> Drop privileges to USER when running privileged; required with --poll for desktop notifications
47+
48+
**-w** _NUM_, **--wait=**_NUM_
49+
> Wait NUM seconds before displaying notifications (useful for autostart)
50+
51+
**--display** _$DISPLAY_
52+
> Set the DISPLAY environment variable for desktop notifications
53+
54+
**-v**, **--verbose**
55+
> Show full messages along with summaries
56+
57+
**-h**, **--help**
58+
> Display usage information
59+
60+
# DESCRIPTION
61+
62+
**aa-notify** displays information about logged AppArmor security events, specifically DENIED messages that occur when applications attempt actions blocked by their AppArmor profiles.
63+
64+
The tool operates in two modes: summary mode shows a report of past denials from a specified time period, while poll mode continuously monitors logs and delivers desktop notifications in real-time. This makes it useful for both auditing historical security events and receiving immediate alerts about policy violations.
65+
66+
AppArmor messages are read from the systemd journal, **/var/log/syslog**, **/var/log/kern.log**, or **/var/log/audit/audit.log** when auditd is installed. The tool requires appropriate privileges to read these logs, typically running under sudo.
67+
68+
# CAVEATS
69+
70+
Desktop notifications require a running display server and proper DISPLAY environment variable configuration. When using sudo, the DISPLAY variable may be reset, requiring explicit **--display** specification. For systems with auditd, the log file path must be explicitly set with **--file /var/log/audit/audit.log**.
71+
72+
# HISTORY
73+
74+
**aa-notify** is part of the AppArmor utilities suite. AppArmor originated at Immunix in the late **1990s** and was acquired by Novell in **2005**. It became part of the mainline Linux kernel in version **2.6.36** released in **2010**. The notification daemon was added to help administrators monitor security events in desktop environments.
75+
76+
# SEE ALSO
77+
78+
[apparmor](/man/apparmor)(7), [aa-status](/man/aa-status)(8), [aa-enforce](/man/aa-enforce)(8), [aa-complain](/man/aa-complain)(8), [journalctl](/man/journalctl)(1)

assets/commands/aafire.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# TLDR
2+
3+
**Display ASCII fire** animation in the terminal
4+
5+
```aafire```
6+
7+
**Run with curses driver** (force terminal output)
8+
9+
```aafire -driver curses```
10+
11+
**Run with slang driver** for terminal display
12+
13+
```aafire -driver slang```
14+
15+
**Display with specific dimensions**
16+
17+
```aafire -width [80] -height [25]```
18+
19+
# SYNOPSIS
20+
21+
**aafire** [_aalib-options_]
22+
23+
# PARAMETERS
24+
25+
**-driver** _name_
26+
> Select output driver (curses, slang, X11, etc.)
27+
28+
**-width** _n_
29+
> Set display width in characters
30+
31+
**-height** _n_
32+
> Set display height in characters
33+
34+
**-bold**
35+
> Enable bold font for brighter output
36+
37+
**-dim**
38+
> Use dim characters for darker appearance
39+
40+
**-reverse**
41+
> Use reverse video mode
42+
43+
**-normal**
44+
> Use normal rendering mode
45+
46+
**-extended**
47+
> Use extended ASCII character set
48+
49+
**-eight**
50+
> Use eight-bit ASCII characters
51+
52+
**-help**
53+
> Display available options and drivers
54+
55+
# DESCRIPTION
56+
57+
**aafire** displays an animated fire simulation rendered entirely in ASCII art characters. It is a demonstration program for the aalib library, which converts graphical output into text-based representations.
58+
59+
The animation renders flames that flicker and dance in real-time using only standard text characters, creating a visually interesting effect directly in the terminal or in an X11 window. The program demonstrates aalib's ability to represent complex visual information using nothing but ASCII characters and their brightness levels.
60+
61+
By default, aalib may attempt to use a graphical driver. To ensure output stays in the terminal, use the **curses** or **slang** driver explicitly.
62+
63+
# CAVEATS
64+
65+
The default driver may attempt to open an X11 window rather than display in the terminal. Use **-driver curses** or **-driver slang** to force terminal output. Performance depends on terminal emulator capabilities and may vary across different systems.
66+
67+
# HISTORY
68+
69+
**aafire** is part of the aalib (ASCII Art Library) created by **Jan Hubicka** in the late **1990s**. The library was developed to enable ASCII art rendering for various applications and became popular for its creative approach to displaying graphics in text-only environments. It gained wider recognition through projects like MPlayer which used aalib to play video as ASCII art.
70+
71+
# SEE ALSO
72+
73+
[bb](/man/bb)(1), [aview](/man/aview)(1), [asciiview](/man/asciiview)(1), [cmatrix](/man/cmatrix)(1), [sl](/man/sl)(1)

assets/commands/abcde.md

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# TLDR
2+
3+
**Rip a CD** to the default format (usually Ogg Vorbis)
4+
5+
```abcde```
6+
7+
**Rip a CD** to MP3 format
8+
9+
```abcde -o mp3```
10+
11+
**Rip a CD** to FLAC format
12+
13+
```abcde -o flac```
14+
15+
**Rip to multiple formats** simultaneously
16+
17+
```abcde -o flac,mp3,ogg```
18+
19+
**Rip using multiple CPU cores** for faster encoding
20+
21+
```abcde -j [4]```
22+
23+
**Rip in non-interactive mode** (no prompts)
24+
25+
```abcde -N```
26+
27+
**Rip specific tracks** from a CD
28+
29+
```abcde [1] [3] [5]```
30+
31+
**Rip from a specific CD device**
32+
33+
```abcde -d [/dev/sr0]```
34+
35+
# SYNOPSIS
36+
37+
**abcde** [_options_] [_tracks_]
38+
39+
# PARAMETERS
40+
41+
**-o** _format_
42+
> Output format: mp3, ogg, flac, opus, m4a, wav, spx, mpc, mka, wv, ape, mp2, tta, aiff
43+
44+
**-d** _device_
45+
> Specify CD device (default: /dev/cdrom)
46+
47+
**-j** _n_
48+
> Run n encoding processes simultaneously (for multi-core systems)
49+
50+
**-a** _actions_
51+
> Specify actions: cddb, read, normalize, encode, tag, move, replaygain, playlist, clean
52+
53+
**-N**
54+
> Non-interactive mode; never prompt for input
55+
56+
**-n**
57+
> Skip CDDB lookup; use generic track names
58+
59+
**-1**
60+
> Encode entire CD as a single track
61+
62+
**-c** _file_
63+
> Use specified configuration file
64+
65+
**-C** _discid_
66+
> Use specified CDDB disc ID for lookup
67+
68+
**-p**
69+
> Pad track numbers with leading zeros
70+
71+
**-P**
72+
> Use Unix pipes for encoding (reduces disk usage)
73+
74+
**-r** _host_
75+
> Remote ripping from specified host
76+
77+
**-S** _speed_
78+
> Set CD drive read speed
79+
80+
**-t** _n_
81+
> Start numbering tracks from n
82+
83+
**-T** _n_
84+
> Same as -t but also modifies playlist
85+
86+
**-x**
87+
> Eject CD after ripping completes
88+
89+
**-w** _comment_
90+
> Add comment to encoded files
91+
92+
**-W** _n_
93+
> Set disc number for multi-disc albums
94+
95+
**-k**
96+
> Keep wav files after encoding
97+
98+
**-l**
99+
> Use low disk space mode
100+
101+
**-V**
102+
> Show version information
103+
104+
**-h**
105+
> Display help message
106+
107+
# DESCRIPTION
108+
109+
**abcde** (A Better CD Encoder) is a shell script that automates the process of ripping audio CDs and encoding them to various compressed formats. It handles the entire workflow from reading the disc to tagging the final files.
110+
111+
The tool queries online databases (CDDB, MusicBrainz) to automatically retrieve track names, artist information, and album details. It uses backend programs like **cdparanoia** for secure ripping and encoders like **lame**, **oggenc**, **flac**, and **opusenc** for compression.
112+
113+
Multiple output formats can be generated in a single pass, and the encoding can be parallelized across multiple CPU cores using the **-j** option. Configuration is managed through **/etc/abcde.conf** or **~/.abcde.conf**, allowing customization of encoder settings, output paths, and naming conventions.
114+
115+
# CAVEATS
116+
117+
Requires backend programs for ripping (cdparanoia or cdda2wav) and encoding (lame for MP3, oggenc for Ogg, flac for FLAC, etc.) to be installed separately. CDDB lookups require network connectivity. Some encoders like lame may need to be installed from non-free repositories due to patent considerations.
118+
119+
# HISTORY
120+
121+
**abcde** was created by **Robert Woodcock** in **1998** as a simple way to automate CD ripping on Linux systems. The name stands for "A Better CD Encoder," reflecting its goal of simplifying what was previously a multi-step manual process. It has been actively maintained and expanded to support modern formats like Opus and AAC while remaining a pure shell script.
122+
123+
# SEE ALSO
124+
125+
[cdparanoia](/man/cdparanoia)(1), [lame](/man/lame)(1), [flac](/man/flac)(1), [oggenc](/man/oggenc)(1), [opusenc](/man/opusenc)(1), [cd-discid](/man/cd-discid)(1)

0 commit comments

Comments
 (0)