* Manual new login shell invocation
@ 2026-01-05 15:58 Avid Seeker
0 siblings, 0 replies; only message in thread
From: Avid Seeker @ 2026-01-05 15:58 UTC (permalink / raw)
To: Newbie Mailing List
$ echo echo profile_read > ~/.profile
$ env -i dash -l
Expected: profile_read
Actual result: no output
Is this a bug in dash or am I missing something?
man env:
-i, --ignore-environment
start with an empty environment
man dash:
-l Make dash act as if it had been invoked as a
login shell.
Avid
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-01-05 16:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-05 15:58 Manual new login shell invocation Avid Seeker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox