TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

FreeBSD switches the default root shell from csh to sh

157 pointsby 0mpover 3 years ago

14 comments

dekhnover 3 years ago
We once upgraded a major research department from csh to tcsh (while also migrating most users to bash). A senior leader complained that when they hit the up arrow, the last command they typed showed up.<p>I explained how to disable readline
评论 #28937141 未加载
评论 #28931403 未加载
评论 #28931051 未加载
评论 #28937481 未加载
WalterGRover 3 years ago
<i>In the recent history sh(1) has gain the missing features for it to become a usable interractive shell:<p>- command completion<p>- ...</i><p>Too much bloat for my tastes.
评论 #28930705 未加载
评论 #28931825 未加载
评论 #28936326 未加载
评论 #28930526 未加载
评论 #28931123 未加载
xenophonfover 3 years ago
A die-hard tcsh user myself, I mourn the end of an era, but has anyone done serious scripting in the C shell? I jokingly call it a sin in the eyes of the LORD, but seriously, it really, really sucks compared to even just the POSIX shell. It&#x27;s probably time for me to finally give into Bash or zsh or something equally modern. Might be nice to get access to all of those shell completion hooks some tools have—not because tcsh doesn&#x27;t offer custom completions, but because most tools don&#x27;t target it. And so it goes.
评论 #28932540 未加载
评论 #28932279 未加载
评论 #28932268 未加载
评论 #28932299 未加载
评论 #28935553 未加载
评论 #28937237 未加载
readingnewsover 3 years ago
I am not a freebsd user, been on linux since 1992, but most of the time I read something about freebsd users and it seems like they want to be some older unix, like Solaris or True64 or something.
评论 #28931085 未加载
评论 #28930912 未加载
评论 #28931077 未加载
评论 #28930458 未加载
评论 #28932497 未加载
评论 #28932518 未加载
评论 #28932472 未加载
评论 #28933490 未加载
tiffanyhover 3 years ago
&gt;&quot;This changes also simplifies making tiny freebsd images with only sh(1) as a shell&quot;<p>What&#x27;s the current process to make extremely small &quot;minimal&quot; freebsd server install?<p>Is it Nanobsd[1], because the unfortunate downside is that the base can&#x27;t change (I realize that&#x27;s a feature) and for a web server or database server that might not be ideal.<p>[1] <a href="https:&#x2F;&#x2F;docs.freebsd.org&#x2F;en&#x2F;articles&#x2F;nanobsd&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.freebsd.org&#x2F;en&#x2F;articles&#x2F;nanobsd&#x2F;</a>
jablover 3 years ago
As a semi-curious non-FreeBSD user, is &#x27;sh&#x27; on FreeBSD the Almquist shell or something else?
评论 #28930203 未加载
yjftsjthsd-hover 3 years ago
So am I reading correctly that they wanted to use sh for a while, and it just finally got needed features? This message says &quot;what&quot; but not &quot;why&quot;, and while as a user I prefer sh over csh:), I&#x27;m curious why the project switched.
评论 #28931026 未加载
fmajidover 3 years ago
I&#x27;ve been a tcsh user for nearly 30 years, but I also believe &#x2F;bin&#x2F;sh should be as minimal and reliable as possible, the Bourne shell (or ash), certainly not a bloated monstrosity like bash or zsh. Even ksh is too big for my taste.
评论 #28937690 未加载
imglorpover 3 years ago
Obligatory &quot;CSH considered harmful&quot; by Tom Christiansen around 1995.<p><a href="http:&#x2F;&#x2F;www.faqs.org&#x2F;faqs&#x2F;unix-faq&#x2F;shell&#x2F;csh-whynot" rel="nofollow">http:&#x2F;&#x2F;www.faqs.org&#x2F;faqs&#x2F;unix-faq&#x2F;shell&#x2F;csh-whynot</a>
评论 #28932334 未加载
tyingqover 3 years ago
Flashback to the SunOS -&gt; Solaris transition.
boring_twentiesover 3 years ago
About damn time.<p>Whichever shell you might prefer, it&#x27;s absurd and infuriating to have one shell as the default for normal users (including the first user created at installation time), and a completely different, not even remotely compatible one for the superuser.
gigatexalover 3 years ago
Why not just go to Bash or ZSH?
评论 #28935619 未加载
评论 #28931862 未加载
评论 #28931828 未加载
评论 #28936955 未加载
评论 #28933179 未加载
ultim8kover 3 years ago
So much for the c shell...
weasturover 3 years ago
The era has gone.