/net in Linux: project log

A Glendix project

Plan 9 Cheat Sheet

This post is a cheat sheet of Plan 9 shell commands, different from Linux.

Linux Command  —->  Plan 9 equivalent

1) rahul@linux$ find . -name ‘cs.c’ -print  —->  term% du -a . | grep cs.c
Comments: Notice the Plan 9′s philosophy of using one program for one action?
Also, try running “du -a .” on Plan 9, it is so much faster than even “slocate” on Linux, let alone “find . -name” !!

2) Ctrl+C exit signal for running scripts  —->  “Delete” key on the keyboard.
Comments: Another example of how old UNIX is. They probably had no “Delete” key when UNIX was designed, so they used “Ctrl+C” which, logically speaking, makes absolutely no sense!

February 10, 2009 - Posted by | Cheat Sheet, Plan 9 from Bell Labs

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.