UTERMINAL
TERMINAL
NEXT
$V1$
PAUSE
ENCORE5
ENCORE
LENCORE
BOX
ILLUSTRATION
DRAWKYB
| ESC | ! | @ | # | $ | % | ^ | & | * | ( | ) |___| + | ~ | | |
| | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | ` | \ |
| TAB | Q | W | E | R | T | Y | U | I | O | P | { | } |DEL|
| | | | | | | | | | | | [ | ] |RUB|
|CTRL|CAPS| A | S | D | F | G | H | J | K | L | : | " |RETURN|
| |LOCK| | | | | | | | | | ; | ' | |
| SHIFT | Z | X | C | V | B | N | M | < | > | ? | SHIFT |LIN|
| | | | | | | | | , | . | / | |FED|
| |
| SPACE BAR |
LOOP1
LOOP2
$PROMPT$
DRAWFILE
keeptime
LOOPDRAWF
AANVANG
Before we proceed, let's review some commands
we're about to use.
Command for listing directory content, review, - 1.7.3.0.1
List the contents of your current directory
by typing the command ls:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type ls
Please type ls
You will be assisted this time:
$PROMPT$
FORGET2
Observe the result on the terminal!
ls
practice project
$PROMPT$
Using "man" command practice, - 1.7.3.0.2
Please print the manual pages for the who command
by using the man command.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please use man to print the manual pages for who
Please type man who
You will be assisted this time:
$PROMPT$
FORGET3
man who
Observe the result on the terminal!
NAME who - who is logged on?
SYNTAX who [options]
DESCRIPTION
who lists the login name and . . .
: :
It is very easy and often very useful to redirect
the output of a command into a file.
By redirecting the output of a command, you are
telling the UNIX Command Interpreter the Shell
that instead of printing the result on your
terminal screen, you want the result to go
into a specified file.
The symbol used for output redirection is:
>
To redirect the output of a command to a file,
all you do is tell UNIX
command
^
|
|
The command
you want
>
^
|
|
The > symbol
for output
redirection
filename
^
|
|
The name of the
file you want the
output to go into
For example
|
|
|
|
:
-
-
>
date
|
:
-
-
-
:
|
>
|
|
:
-
-
-
-
-
-
-
-
|
keeptime
TYPSYM
Please review your keyboard arrangement, so
next time you have no problems typing > :
CONTINUE
Output redirection symbol typing practice, - 1.7.3.0.2
To reinforce the use of the output redirection symbol, please
press the lit keys for entering the > symbol.
Press both lit keys on your keyboard:
SHIFT
>
.
No, you didn't hold the SHIFT key down.
Please try again, and be sure to hold the SHIFT key down
WHILE you hold down the > key.
No, you used the CONTROL key instead of the SHIFT
key.
Please try again, and be sure to hold the SHIFT key down
(not the CONTROL key) while you press the > s0$ key.
You entered some sort of CONTROL sequence, when you should
have used the > key!
Please try again, and be sure to hold the SHIFT key down
while you press the > key.
Sorry, UNIX doesn't know what that was. Please pay attention.
Look at the keyboard on your screen. Press BOTH the
lit keys at the same time.
DOREDIR
SHIFT
>
.
Very good. You are now ready to proceed.
"man pr" result redirection practice, - 1.7.3.0.4
Let us use the output redirection
capability to place a copy of the on-line manual pages
for pr into a file. Use the man command
to get the pages for pr and redirect the output
to the file pr-manpgs:
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please enter man pr and redirect the output to pr-manpgs
Please type man pr > pr-manpgs
You will be assisted this time:
$PROMPT$
FORGET4
man pr > pr-manpgs
Observe the result on the terminal!
$PROMPT$
UNIX made a file called pr-manpgs and
put the pr manual pages into it.
LSRED1
Please use the ls command.
to check whether the file
pr-manpgs is in your directory.
$PROMPT$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
Please type ls
Please type ls
You will be assisted this time:
$PROMPT$
FORGET5
Observe the result on the terminal!
ls
pr-manpgs practice project
$PROMPT$