Article View: bu.localpostings
Article #372Re: Which shell?( alt.2600)
From: qu
Date: Sat, 25 Dec 1999 00:00
Date: Sat, 25 Dec 1999 00:00
25 lines
1363 bytes
1363 bytes
X-Orig-MsgId: <kusln6jcgv9.fsf@buphy.bu.edu> "Anon" <anonymous@cotse.com> writes: > exec [[�] command [arguments]] > If command is specified, it replaces the shell. True, but if you just want to test another shell, or test writing a script in bash but you usually use tcsh, you just type the name of the shell (like 'sh' or 'csh') from the command line. It will fork off a "subshell", which is another process *in addition to* the current shell, whereas 'exec' *replaces* the current shell in situ; so running the subshell is just like running any other process like a text editor. -- While the brown ale he quaffed, Loud then the champion laughed, And as the wind-gusts waft The sea-foam brightly, So the loud laugh of scorn, Out of those lips unshorn, From the deep drinking-horn Blew the foam lightly. --Longfellow
Technical Details
Message-ID:
<842fb6$lj0$1@news1.bu.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<83tbdq$lsd$1@nntp9.atl.mindspring.net> <38623d5a.48340578@news.bconnex.net> <83ume1$t25$1@nntp9.atl.mindspring.net> <199912250550.AAA05741@cotse.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1552e4,5242e353a517f47f X-Google-Attributes: gid1552e4,public From: qu@f.f Subject: Re: Which shell?( alt.2600) Date: 1999/12/25 Message-ID: <842fb6$lj0$1@news1.bu.edu> X-Deja-AN: 564771302 References: <83tbdq$lsd$1@nntp9.atl.mindspring.net> <38623d5a.48340578@news.bconnex.net> <83ume1$t25$1@nntp9.atl.mindspring.net> <199912250550.AAA05741@cotse.com> Original-Sender: qu@f.f X-Orig-Newsgrp: alt.2600 Organization: . Newsgroups: bu.localpostings