All of lore.kernel.org
 help / color / mirror / Atom feed
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.