The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
* [TUHS] Shell Level...
@ 2020-01-19 21:22 Grant Taylor via TUHS
  2020-01-19 23:21 ` Thomas Paulsen
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Grant Taylor via TUHS @ 2020-01-19 21:22 UTC (permalink / raw)
  To: The Unix Heritage Society

[-- Attachment #1: Type: text/plain, Size: 959 bytes --]

Hi,

Have you ever used shell level, $SHLVL, in your weekly ~> daily use of Unix?

I had largely dismissed it until a recent conversation in a newsgroup. 
I learned that shelling out of programs also increments the shell level. 
  I.e. :shell or :!/bin/sh in vim.

Someone also mentioned quickly starting a new sub-shell from the current 
shell for quick transient tasks, i.e. dc / bc, mount / cp / unmount, 
{,r,s}cp, etc., in an existing terminal window to avoid cluttering that 
first terminals history with the transient commands.

That got me to wondering if there were other uses for shell level 
($SHLVL).  Hence my question.

This is more about using (contemporary) shells on Unix, than it is about 
Unix history.  But I suspect that TUHS is one of the best places to find 
the most people that are likely to know about shell level.  Feel free to 
reply to COFF if it would be better there.



-- 
Grant. . . .
unix || die


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4013 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-01-21 23:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-19 21:22 [TUHS] Shell Level Grant Taylor via TUHS
2020-01-19 23:21 ` Thomas Paulsen
2020-01-20  8:15 ` markus schnalke
2020-01-20  8:39   ` Kurt H Maier
2020-01-21 20:42     ` Grant Taylor via TUHS
2020-01-20 19:40   ` Theodore Y. Ts'o
2020-01-20 23:51     ` Terry Jones
2020-01-21 20:44     ` Grant Taylor via TUHS
2020-01-21 23:10       ` Theodore Y. Ts'o
2020-01-20 23:55   ` Greg A. Woods
2020-01-21 20:46     ` Grant Taylor via TUHS
2020-01-21 23:39       ` Greg A. Woods
2020-01-20 23:43 ` Greg A. Woods

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).