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.

Using Unix as an IDE (2012)

162 pointsby nzalmost 7 years ago

11 comments

rbcalmost 7 years ago
It's not for everyone, but the Unix/BSD/Linux shell is still my favorite command invocation environment. Despite their simplicity, pipelines are a really handy way to pass data between programs when solving certain kinds problems. It also provides a cheap way of providing some parallel processing.
评论 #17361175 未加载
评论 #17364058 未加载
评论 #17368010 未加载
smadgealmost 7 years ago
Maybe this is implicitly assumed, but a terminal multiplexer such as tmux is also a useful utility for using unix as an IDE. For example, you can have a pane for your code in an editor like vim, and a pane for running your tests next to it, and maybe another pane for an interactive shell of your language. Lacking a consistent local development environment, tmux is indispensable when I ssh into into my remote development environment.
评论 #17364156 未加载
评论 #17363260 未加载
评论 #17368280 未加载
评论 #17362792 未加载
partycoderalmost 7 years ago
If using LLVM, you may want to debug with lldb instead. Also with gdb you can use the tui mode.<p>To read the environment variables used by a program you can use<p><pre><code> cat &#x2F;proc&#x2F;{pid}&#x2F;environ </code></pre> update: Some of this overlaps with reverse engineering. I posted this comment yesterday about useful reverse engineering resources on Linux <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17342197" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17342197</a>
评论 #17361288 未加载
评论 #17365648 未加载
评论 #17363013 未加载
twblalockalmost 7 years ago
I like Acme because it is built to facilitate using shell commands from within the editor. You can write scripts in any language you like and run them, which in some ways makes it the ultimate scriptable editor.<p>However, an IDE like IntelliJ brings so much to the table that it&#x27;s hard to imagine working without it. I know I&#x27;m much more productive using it than Emacs or Acme or Vi or any other editor that integrates well with Unix.
评论 #17362113 未加载
评论 #17362197 未加载
haolezalmost 7 years ago
Highly recommend the inotify tools. It makes things like auto reloading very easy to setup.
评论 #17362898 未加载
Tecklaalmost 7 years ago
Midnight Commander (mc) is also a great file management tool.
评论 #17369494 未加载
pvgalmost 7 years ago
Previouslies: <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?query=unix%20as%20ide&amp;sort=byPopularity&amp;prefix=false&amp;page=0&amp;dateRange=all&amp;type=story" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?query=unix%20as%20ide&amp;sort=byPopular...</a>
Rolpaalmost 7 years ago
But the idea of an OS in and of itself is the ultimate IDE, is it not? I can&#x27;t say I like the idea of writing software without any system calls at my disposal.
评论 #17362262 未加载
cryptonectoralmost 7 years ago
tmux + cscope + a $CSCOPE_EDITOR script that starts $EDITOR in a new tmux window == awesome.<p>EDIT: Also, add nested tmux sessions to make it awesome++.
jlebrechalmost 7 years ago
is it possible to write man pages for tasks rather than commands.<p>so you could have: man search, man restart, man compile. etc.
评论 #17363308 未加载
NVRMalmost 7 years ago
ls -ltrapR