[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members projects store tour gopher abuse dialup minecraft social
tilde nihongo europa webmail gallery usermap irc tutorials telnet git ssh

Plan 9 Rc Survival Guide

Rc is the command interpreter shell developed for the Plan 9 from Bell Labs operating system. Its design is inspired by the Unix Bourne shell and many Rc commands share names and functionality with familiar Unix shell commands.

This tutorial introduces a minimal subset of Rc commands to enable one to perform the initial configuration of the Plan 9 operating system running on an SDF VPS slice (see Plan 9 on SDF VPS).

Control keys

Available on server console

^H move cursor one character to the left and delete character
^U delete current line text
^] return to VPS Maintenance Shell menu

Available in rio graphic environment

^A move cursor to beginning of current line Delete interrupt running program
^E move cursor to end of text on current line move cursor one character left
^F file name completion move cursor one character right
^H
Backspace
move cursor one character to the left and delete character scroll window upward (small)
^U delete current line text scroll window downward (small)
^W delete word to left of cursor Page
Up
scroll window upward (large)
Page
Down
scroll window downward (large)

Rc commands

cat print file contents lc print file list in columns (ls is also available)
cd change working direcory man print man page
cp copy a file mkdir make a directory
date print current date and time mv move a file
echo print arguments p print file page-by-page (press Enter for next page)
ed line-oriented text editor pwd print current working directory name
fshalt -h halt file system, shutdown server rm delete file or directory

I/O redirection

command < file take input for command from file
command > file send output from command to file (create or overwrite)
command >> file append output from command to file
command-1 | command-2 pipe output from command-1 as input to command-2

Additional information

$Id: Plan_9_rc.html,v 1.3 2020/09/14 14:28:59 papa Exp $

©1987-2065 SDF Public Access UNIX System, Inc. 501(c)(7)
(this page was generated using ksh, sed and awk)