Blob


1 <head>
2 <title>9(1) - Plan 9 from User Space</title>
3 <meta content="text/html; charset=utf-8" http-equiv=Content-Type>
4 </head>
5 <body bgcolor=#ffffff>
6 <table border=0 cellpadding=0 cellspacing=0 width=100%>
7 <tr height=10><td>
8 <tr><td width=20><td>
9 <tr><td width=20><td><b>9(1)</b><td align=right><b>9(1)</b>
10 <tr><td width=20><td colspan=2>
11 <br>
12 <p><font size=+1><b>NAME </b></font><br>
14 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
16 9 &ndash; run Plan 9 commands<br>
18 </table>
19 <p><font size=+1><b>SYNOPSIS </b></font><br>
21 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
23 <tt><font size=+1>9</font></tt> <i>cmd</i> [ <i>args</i> ... ]
24 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
26 <tt><font size=+1>. 9<br>
27 </font></tt>
28 </table>
29 <p><font size=+1><b>DESCRIPTION </b></font><br>
31 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
33 Because Plan 9 supplies commands with the same name as but different
34 behavior than many basic Unix system commands (e.g., <tt><font size=+1>grep</font></tt>, <tt><font size=+1>sed</font></tt>,
35 <tt><font size=+1>mkdir</font></tt>, <tt><font size=+1>rm</font></tt>), it is not recommended to run with the Plan 9 bin directory
36 ahead of the system directories.
37 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
39 <i>9</i> is a shell script that sets up a Plan 9 environment and runs
40 <i>cmd .</i> It sets <tt><font size=+1>$PLAN9</font></tt> and adds <tt><font size=+1>$PLAN9/bin</font></tt> to the beginning of <tt><font size=+1>$PATH</font></tt>
41 before running <i>cmd</i>.
42 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
44 If run with no arguments, <tt><font size=+1>9</font></tt> does not do anything. This is so that
45 it can be invoked from <i>sh</i>-style shells using <tt><font size=+1>. 9</font></tt> in order to make
46 the current shell start running in the Plan 9 environment.<br>
48 </table>
49 <p><font size=+1><b>EXAMPLES </b></font><br>
51 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
53 Search for greek in the password file:<br>
55 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
57 <tt><font size=+1>$ 9 grep '[&#945;&#8722;&#950;]' /etc/passwd<br>
59 <table border=0 cellpadding=0 cellspacing=0><tr height=5><td></table>
60 </font></tt>
62 </table>
63 Start an <a href="../man1/rc.html"><i>rc</i>(1)</a> with the Plan 9 commands in the path before the
64 system commands.<br>
66 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
68 <tt><font size=+1>9 rc<br>
69 </font></tt>
70 </table>
72 </table>
73 <p><font size=+1><b>SOURCE </b></font><br>
75 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
77 <tt><font size=+1>/usr/local/plan9/bin/9<br>
78 </font></tt>
79 </table>
80 <p><font size=+1><b>SEE ALSO </b></font><br>
82 <table border=0 cellpadding=0 cellspacing=0><tr height=2><td><tr><td width=20><td>
84 <a href="../man1/intro.html"><i>intro</i>(1)</a><br>
86 </table>
88 <td width=20>
89 <tr height=20><td>
90 </table>
91 <!-- TRAILER -->
92 <table border=0 cellpadding=0 cellspacing=0 width=100%>
93 <tr height=15><td width=10><td><td width=10>
94 <tr><td><td>
95 <center>
96 <a href="../../"><img src="../../dist/spaceglenda100.png" alt="Space Glenda" border=1></a>
97 </center>
98 </table>
99 <!-- TRAILER -->
100 </body></html>