env(1)
π env(1) β bestie's guide to setting env vars and running stuff π
okay so. you know how your shell has a whole little vibe board of environment variables? env is the girl who walks in, rearranges that board however you want, and then runs your command in the new β¨aestheticβ¨. it's from uutils coreutils, and honestly? she ate.
πΈ NAME πΈ
env β set each NAME to VALUE in the environment and run COMMAND π«Ά
π¦ SYNOPSIS π¦
env [-i|--ignore-environment] [-C|--chdir] [-0|--null] [-f|--file]
[-u|--unset] [-v|--debug]... [-S|--split-string] [-a|--argv0]
[--ignore-signal] [--default-signal] [--block-signal]
[--list-signal-handling] [-h|--help] [-V|--version] [vars]
like, look at her. so many little flags, all valid, all iconic. π
π DESCRIPTION π
Set each NAME to VALUE in the environment and run COMMAND. that's it. that's the whole job. she sets the vibes, then she runs your command inside those vibes. no notes. π
β¨ OPTIONS β¨
-i,--ignore-environmentβ start with an empty environment. blank slate energy. no inherited variables, just vibes you brought yourself π-C,--chdir <DIR>β change working directory to DIR before doing the thing πͺ-0,--nullβ end each output line with a0byte rather than a newline. heads up bestie: this is only valid when printing the environment β don't try it elsewhere, she will not be happy π-f,--file <PATH>β read and set variables from a".env"-style configuration file (and yes, this happens prior to any unset and/or set, so order matters, ok? order always matters) π-u,--unset <NAME>β remove variable NAME from the environment. bye bestie, blocked, unfollowed π«-v,--debugβ print verbose information for each processing step. she's telling you EVERYTHING she's doing, like a friend live-texting you through her whole day π±-S,--split-string <S>β process and split S into separate arguments; used to pass multiple arguments on shebang lines. she's the one who can read the group chat and figure out who said what π§-a,--argv0 <a>β override the zeroth argument passed to the command being executed. without this option a default value ofcommandis used. yes, she can change what the command thinks her own name is. main character rebranding π--ignore-signal[=<SIG>]β set handling ofSIGsignal(s) to do nothing. she saw the signal and simply chose to not perceive it π--default-signal[=<SIG>]β reset handling ofSIGsignal(s) to the default action. back to factory settings, no baggage, fresh start π±--block-signal[=<SIG>]β block delivery ofSIGsignal(s) while running COMMAND. not today, signal. the door is closed π--list-signal-handlingβ list signal handling changes requested by preceding options. receipts! she's showing you exactly what you asked for β¨-h,--helpβ print help-V,--versionβ print version[vars]β the actualNAME=VALUEpairs you wanna set, bestie. put them here. this is the moment π
π EXTRA π
A mere - implies -i. that's right, one lil dash and she's like "say less, empty environment it is."
If no COMMAND is given, she just prints the resulting environment instead. so you can peek at the vibes without committing to anything. window shopping but for env vars ποΈ
β VERSION β
v(uutils coreutils) 0.7.0
okay that's the whole page, you're basically an env girlie now π go set some variables, go run some commands, go be the main character of your own process environment. iykyk π
uu_env (uutils coreutils) 0.7.0 β env(1). mwah, love u, bye π«ΆπΈ
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms