From mboxrd@z Thu Jan 1 00:00:00 1970 From: random832@fastmail.com (Random832) Date: Fri, 15 Jul 2016 00:09:13 -0400 Subject: [TUHS] Shell control through external commands In-Reply-To: References: <4fcf31ef-50af-10b5-0c34-ad647ed10a4e@aueb.gr> <20160714224939.GA35271@server.rulingia.com> <1468549531.1418457.666827937.6487308D@webmail.messagingengine.com> Message-ID: <1468555753.1445420.666884353.7756931D@webmail.messagingengine.com> On Thu, Jul 14, 2016, at 23:59, Dave Horsfall wrote: > On Thu, 14 Jul 2016, Random832 wrote: > > > My Mac even has /usr/bin/cd. > > After which, of course, the shell returns to where it was... Or does > it do a getcwd() after each command or something? The existence of cd as a real command is a bit silly (Ubuntu doesn't seem to bother with it), but it is technically required by the standard.