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.

Unix Toolbox (2008)

160 pointsby rodrigo975over 5 years ago

6 comments

JdeBPover 5 years ago
Some errors, just from the first few sections alone.<p>From section 1:<p>* &quot;man hier&quot; is out of date, alas. <a href="https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;567405&#x2F;5132" rel="nofollow">https:&#x2F;&#x2F;unix.stackexchange.com&#x2F;a&#x2F;567405&#x2F;5132</a><p>* If one is going to have a Linux&#x2F;FreeBSD&#x2F;Solaris split, one needs to apply it to section 1. &quot;lsbrelease&quot; is a Linux-based operating system only command.<p>* Debian now includes &#x2F;etc&#x2F;os-release . Interestingly, so too does DragonFlyBSD (but not FreeBSD).<p>* &quot;last reboot&quot; has been supposedly superseded in systemd operating systems, by &quot;journalctl -b&quot;.<p>* &quot;atacontrol&quot; was superseded by &quot;camcontrol&quot; in FreeBSD back in 2012. <a href="https:&#x2F;&#x2F;www.freebsd.org&#x2F;releases&#x2F;9.0R&#x2F;relnotes-detailed.html#AEN1308" rel="nofollow">https:&#x2F;&#x2F;www.freebsd.org&#x2F;releases&#x2F;9.0R&#x2F;relnotes-detailed.html...</a><p>* Not even everyone has &#x2F;var&#x2F;log&#x2F;messages any more, or &#x2F;var&#x2F;log&#x2F;warn . Even Debian has, just last month, made the systemd journal its primary on-disc storage.<p>* Use &quot;vipw&quot; to avoid having to remember to recompile master.passwd . It respects $EDITOR .<p>* Most Linux operating systems do not use run levels <i>at all</i> now. <a href="http:&#x2F;&#x2F;jdebp.uk.&#x2F;FGA&#x2F;run-levels-are-history.html" rel="nofollow">http:&#x2F;&#x2F;jdebp.uk.&#x2F;FGA&#x2F;run-levels-are-history.html</a><p>In section 2:<p>* The ps flags are 30 years out of date for the BSDs. BSD switched ps to use getopt() at the start of the 1990s, and they&#x27;ve officially started with a minus sign all of that time since.<p>* The better trace program on FreeBSD, and the only one on OpenBSD, is the original BSD ktrace&#x2F;kdump .<p>In section 3:<p>* FreeBSD partitioning is done with &quot;gpart&quot;.<p>I stopped there. There are probably some howlers under installation and shells, given how outdated some of the other stuff was. Debian and Ubuntu changed &#x2F;bin&#x2F;sh to the Debian Almquist shell a decade and a bit ago. FreeBSD replaced pkg with pkg-ng in version 9. These are two very common errors that I see.
评论 #22383847 未加载
dangover 5 years ago
A thread from 2015: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10022729" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10022729</a><p>2010: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1411075" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1411075</a>
评论 #22382619 未加载
评论 #22383612 未加载
MichaelMoser123over 5 years ago
Is there a tool that returns linux system information in json format, that works for most kernel versions and &#x2F; is actively supported? i think it would be easier to pipe through jq in order to get a desired value, rather then pipe through grep&#x2F;awk&#x2F;sed.
评论 #22382562 未加载
评论 #22382590 未加载
评论 #22386223 未加载
评论 #22382593 未加载
评论 #22383486 未加载
dredmorbiusover 5 years ago
For fun: <a href="http:&#x2F;&#x2F;cb.vu" rel="nofollow">http:&#x2F;&#x2F;cb.vu</a>
tomrodover 5 years ago
I&#x27;ve needed this for a long time!<p>One word: anyone know why it Firefox mobile can&#x27;t scale the page text up? No issue on Brave&#x2F;Chrome mobile.
saagarjhaover 5 years ago
I spy some Windows ;)
评论 #22387437 未加载