Plan 9 from Bell Labs’s /usr/web/sources/wiki/d/54.hist

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


NIX to Plan 9 command translation
D1038738288
[email protected] (193.201.199.43)
#<h2>UNIX to Plan 9 command translation</h2> <p>The command set of
#Plan 9 is similar to that of UNIX. The commands fall into several
#broad classes. Some are new programs for old jobs: programs like
#<tt>ls</tt>, <tt>cat</tt>, and who have familiar names and functions
#but are new, simpler implementations. Who, for example, is a shell
#script, while <tt>ps</tt> is just 95 lines of C code. Some commands
#are essentially the same as their UNIX ancestors: <tte>awk</tt>,
#<tt>troff</tt>, and others have been converted to ANSI C and
#extended to handle Unicode, but are still the familiar tools. Some
#are entirely new programs for old niches: the shell <tt>rc</tt>,
#text editor <tt>sam</tt>, debugger <tt>acid</tt>, and others
#displace the better-known UNIX tools with similar jobs. Finally,
#about half the commands are new.
#
#<p>Compatibility was not a requirement for the system. Where the old
#commands or notation seemed good enough, we kept them. When they
#didn't, we replaced them.
#
#<p>The following list of some UNIX commands, which you can emulate
#in Plan 9 system:
#
#<pre> UNIX Plan 9 from Bell Labs
#
#df(1) disk/kfscmd check <a
#href="http://www.eecs.harvard.edu/~rsc/df">http://www.eecs.harvard.edu/~rsc/df</a>
#
#mount(1) [-p flag] bind(1) unmount(1) 9fs(1) srv(1) import(4)
#exportfs(4) -p ns(1)
#
#more(1) p
#
#shutdown(1m) disk/kfscmd halt echo reboot > /dev/reboot echo panic >
#/dev/reboot
#
#id(1) echo $user cat /dev/user grep `{cat /dev/user} /adm/users grep
#$user /adm/users
#
#find(1) du -a | grep pattern grep pattern `{du -a root} -name du -a
#root | grep name pattern in a file grep -n pattern `{du -a root |
#awk '{print $2}}
#
#apropos(1) lookman(1) man(1)
#
#uptime(1) echo $boottime <a
#href="http://www.csh-east.org/~tad/plan9/uptime.c">http://www.csh-east.org/~tad/plan9/uptime.c</a> <a href="http://www.eecs.harvard.edu/~rsc/uptime">http://www.eecs.harvard.edu/~rsc/uptime</a>
#
#head(1) sed -n 1,Np sed Nq
#
#netstat(1m) [-r flag] netstat(1) -r cat /net/iproute
#
#last(1) N.A.
#
#vmstat(1m) stats(1) cat /dev/sysstat cat /dev/swap
#
#iostat(1m) iostats(4)
#
#nfsstat(1m) iostats(4)
#
#ufs{dump|restore}(1m) yesterday(1) history(1) fs(4)
#
#pkginfo(1m) wrap(8)
#
#snoop(1m) snoopy(8)
#
#tcpdump(1) snoopy(8)
#
#tree(1) ls -l `{du -a $1 | awk '{print $2}'} | grep '^d-' | awk ' {
#print $10 }'
#
#source(1) . </pre>
D1038738895
A (193.201.199.43)
#<h2>UNIX to Plan 9 command translation</h2> <p>The command set of
#Plan 9 is similar to that of UNIX. The commands fall into several
#broad classes. Some are new programs for old jobs: programs like
#<tt>ls</tt>, <tt>cat</tt>, and who have familiar names and functions
#but are new, simpler implementations. Who, for example, is a shell
#script, while <tt>ps</tt> is just 95 lines of C code. Some commands
#are essentially the same as their UNIX ancestors: <tte>awk</tt>,
#<tt>troff</tt>, and others have been converted to ANSI C and
#extended to handle Unicode, but are still the familiar tools. Some
#are entirely new programs for old niches: the shell <tt>rc</tt>,
#text editor <tt>sam</tt>, debugger <tt>acid</tt>, and others
#displace the better-known UNIX tools with similar jobs. Finally,
#about half the commands are new.
#
#<p>Compatibility was not a requirement for the system. Where the old
#commands or notation seemed good enough, we kept them. When they
#didn't, we replaced them.
#
#<p>The following list of some UNIX commands, which you can emulate
#in Plan 9 system:
#
#<pre> UNIX Plan 9 from Bell Labs
#
#df(1) disk/kfscmd check [<a
#href="http://www.eecs.harvard.edu/~rsc/df">http://www.eecs.harvard.edu/~rsc/df</a>]
#
#mount(1) [-p flag] bind(1) unmount(1) 9fs(1) srv(1) import(4)
#exportfs(4) -p ns(1)
#
#more(1) p
#
#shutdown(1m) disk/kfscmd halt echo reboot > /dev/reboot echo panic >
#/dev/reboot
#
#id(1) echo $user cat /dev/user grep `{cat /dev/user} /adm/users grep
#$user /adm/users
#
#find(1) du -a | grep pattern grep pattern `{du -a root} -name du -a
#root | grep name pattern in a file grep -n pattern `{du -a root |
#awk '{print $2}}
#
#apropos(1) lookman(1) man(1)
#
#uptime(1) echo $boottime [<a
#href="http://www.csh-east.org/~tad/plan9/uptime.c">http://www.csh-east.org/~tad/plan9/uptime.c</a>] [<a href="http://www.eecs.harvard.edu/~rsc/uptime">http://www.eecs.harvard.edu/~rsc/uptime</a>]
#
#head(1) sed -n 1,Np sed Nq
#
#netstat(1m) [-r flag] netstat(1) -r cat /net/iproute
#
#last(1) N.A.
#
#vmstat(1m) stats(1) cat /dev/sysstat cat /dev/swap
#
#iostat(1m) iostats(4)
#
#nfsstat(1m) iostats(4)
#
#ufs{dump|restore}(1m) yesterday(1) history(1) fs(4)
#
#pkginfo(1m) wrap(8)
#
#snoop(1m) snoopy(8)
#
#tcpdump(1) snoopy(8)
#
#tree(1) ls -l `{du -a $1 | awk '{print $2}'} | grep '^d-' | awk ' {
#print $10 }'
#
#source(1) .
#
D1038740053
A (193.201.199.43)
#<h2>UNIX to Plan 9 command translation</h2> <p>The command set of
#Plan 9 is similar to that of UNIX. The commands fall into several
#broad classes. Some are new programs for old jobs: programs like
#<tt>ls</tt>, <tt>cat</tt>, and who have familiar names and functions
#but are new, simpler implementations. Who, for example, is a shell
#script, while <tt>ps</tt> is just 95 lines of C code. Some commands
#are essentially the same as their UNIX ancestors: <tte>awk</tt>,
#<tt>troff</tt>, and others have been converted to ANSI C and
#extended to handle Unicode, but are still the familiar tools. Some
#are entirely new programs for old niches: the shell <tt>rc</tt>,
#text editor <tt>sam</tt>, debugger <tt>acid</tt>, and others
#displace the better-known UNIX tools with similar jobs. Finally,
#about half the commands are new.
#
#<p>Compatibility was not a requirement for the system. Where the old
#commands or notation seemed good enough, we kept them. When they
#didn't, we replaced them.
#
#<p>The following list of some UNIX commands, which you can emulate
#in Plan 9 system: <p> <pre> UNIX Plan 9 from Bell Labs
#
#df(1) disk/kfscmd check [<a
#href="http://www.eecs.harvard.edu/~rsc/df">http://www.eecs.harvard.edu/~rsc/df</a>]
#
#mount(1) [-p flag] bind(1) unmount(1) 9fs(1) srv(1) import(4)
#exportfs(4) -p ns(1)
#
#more(1) p
#
#shutdown(1m) disk/kfscmd halt echo reboot > /dev/reboot echo panic >
#/dev/reboot
#
#id(1) echo $user cat /dev/user grep `{cat /dev/user} /adm/users grep
#$user /adm/users
#
#find(1) du -a | grep pattern grep pattern `{du -a root} -name du -a
#root | grep name pattern in a file grep -n pattern `{du -a root |
#awk '{print $2}}
#
#apropos(1) lookman(1) man(1)
#
#uptime(1) echo $boottime [<a
#href="http://www.csh-east.org/~tad/plan9/uptime.c">http://www.csh-east.org/~tad/plan9/uptime.c</a>] [<a href="http://www.eecs.harvard.edu/~rsc/uptime">http://www.eecs.harvard.edu/~rsc/uptime</a>]
#
#head(1) sed -n 1,Np sed Nq
#
#netstat(1m) [-r flag] netstat(1) -r cat /net/iproute
#
#last(1) N.A.
#
#vmstat(1m) stats(1) cat /dev/sysstat cat /dev/swap
#
#iostat(1m) iostats(4)
#
#nfsstat(1m) iostats(4)
#
#ufs{dump|restore}(1m) yesterday(1) history(1) fs(4)
#
#pkginfo(1m) wrap(8)
#
#snoop(1m) snoopy(8)
#
#tcpdump(1) snoopy(8)
#
#tree(1) ls -l `{du -a $1 | awk '{print $2}'} | grep '^d-' | awk ' {
#print $10 }'
#
#source(1) .
#
#</pre> <p>
#
X
D1038740223
A (193.201.199.43)
#The command set of Plan 9 is similar to that of UNIX. The commands
#fall into several broad classes. Some are new programs for old jobs:
#programs like ls, cat, and who have familiar names and functions but
#are new, simpler implementations. Who, for example, is a shell
#script, while ps is just 95 lines of C code. Some commands are
#essentially the same as their UNIX ancestors: awk, troff, and others
#have been converted to ANSI C and extended to handle Unicode, but
#are still the familiar tools. Some are entirely new programs for old
#niches: the shell rc, text editor sam, debugger acid, and others
#displace the better-known UNIX tools with similar jobs. Finally,
#about half the commands are new.
#
#Compatibility was not a requirement for the system. Where the old
#commands or notation seemed good enough, we kept them. When they
#didn't, we replaced them.
#
#The following list of some UNIX commands, which you can emulate in
#Plan 9 system:
#
#! UNIX Plan 9 from Bell Labs
#
#! df(1) disk/kfscmd check [http://www.eecs.harvard.edu/~rsc/df]
#
#mount(1) [-p flag] bind(1) unmount(1) 9fs(1) srv(1) import(4)
#exportfs(4) -p ns(1)
#
#more(1) p
#
#shutdown(1m) disk/kfscmd halt echo reboot > /dev/reboot echo panic >
#/dev/reboot
#
#id(1) echo $user cat /dev/user grep `{cat /dev/user} /adm/users grep
#$user /adm/users
#
#find(1) du -a | grep pattern grep pattern `{du -a root} -name du -a
#root | grep name pattern in a file grep -n pattern `{du -a root |
#awk '{print $2}}
#
#apropos(1) lookman(1) man(1)
#
#uptime(1) echo $boottime [<a
#href="http://www.csh-east.org/~tad/plan9/uptime.c">http://www.csh-east.org/~tad/plan9/uptime.c</a>] [<a href="http://www.eecs.harvard.edu/~rsc/uptime">http://www.eecs.harvard.edu/~rsc/uptime</a>]
#
#head(1) sed -n 1,Np sed Nq
#
#netstat(1m) [-r flag] netstat(1) -r cat /net/iproute
#
#last(1) N.A.
#
#vmstat(1m) stats(1) cat /dev/sysstat cat /dev/swap
#
#iostat(1m) iostats(4)
#
#nfsstat(1m) iostats(4)
#
#ufs{dump|restore}(1m) yesterday(1) history(1) fs(4)
#
#pkginfo(1m) wrap(8)
#
#snoop(1m) snoopy(8)
#
#tcpdump(1) snoopy(8)
#
#tree(1) ls -l `{du -a $1 | awk '{print $2}'} | grep '^d-' | awk ' {
#print $10 }'
#
#source(1) .
#
X
D1038741133
A (193.201.199.43)
#The command set of Plan 9 is similar to that of UNIX. The commands
#fall into several broad classes. Some are new programs for old jobs:
#programs like ls, cat, and who have familiar names and functions but
#are new, simpler implementations. Who, for example, is a shell
#script, while ps is just 95 lines of C code. Some commands are
#essentially the same as their UNIX ancestors: awk, troff, and others
#have been converted to ANSI C and extended to handle Unicode, but
#are still the familiar tools. Some are entirely new programs for old
#niches: the shell rc, text editor sam, debugger acid, and others
#displace the better-known UNIX tools with similar jobs. Finally,
#about half the commands are new.
#
#Compatibility was not a requirement for the system. Where the old
#commands or notation seemed good enough, we kept them. When they
#didn't, we replaced them.
#
#The following list of some UNIX commands, which you can emulate in
#Plan 9 system:
#
#! UNIX			Plan 9 from Bell Labs
#! 
#! df(1)			disk/kfscmd check 
#! 			[href="http://www.eecs.harvard.edu/~rsc/df]
#! 
#! mount(1) [-p flag] 	bind(1) 
#! 		    	unmount(1) 
#! 		    	9fs(1) 
#! 		    	srv(1) 
#! 		    	import(4)
#! 	            	exportfs(4) 
#! 	   -p 	    	ns(1)
#! 
#! more(1) 	    	p
#! 
#! shutdown(1m) 	    	disk/kfscmd halt 
#! 		    	echo reboot > /dev/reboot 
#! 		    	echo panic > /dev/reboot
#! 
#! id(1) 		    	echo $user 
#! 		    	cat /dev/user 
#! 		    	grep `{cat /dev/user} /adm/users 
#! 		    	grep $user /adm/users
#! 
#! find(1) 	    	du -a | grep pattern 
#! 	 	    	grep pattern `{du -a root} 
#! -name 	    	du -a root | grep name 
#! pattern in a file 	grep -n pattern `{du -a root | awk '{print $2}}
#! 
#! apropos(1) 	    	lookman(1) 
#! 		    	man(1)
#! 
#! uptime(1) 	    	echo $boottime 
#! 			[http://www.csh-east.org/~tad/plan9/uptime.c]
#! 		   	[http://www.eecs.harvard.edu/~rsc/uptime]
#! 
#! head(1) 	    	sed -n 1,Np 
#! 		    	sed Nq
#! 
#! netstat(1m) [-r flag]  netstat(1) 
#! 	      -r 	cat /net/iproute
#! 
#! last(1) 		N.A.
#! 
#! vmstat(1m) 		stats(1) 
#! 			cat /dev/sysstat 
#! 			cat /dev/swap
#! 
#! iostat(1m) 		iostats(4)
#! 
#! nfsstat(1m) 		iostats(4)
#! 
#! ufs{dump|restore}(1m) 	yesterday(1) 
#! 			history(1) 
#! 			fs(4)
#! 
#! pkginfo(1m) 		wrap(8)
#! 
#! snoop(1m) 		snoopy(8)
#! 
#! tcpdump(1) 		snoopy(8)
#! 
#! tree(1) 		ls -l `{du -a $1 | awk '{print $2}'} | grep '^d-' | awk ' { print $10 }'
#! 
#! source(1) 		.
#

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].