~ % cd /cake /cake % ls ireland/ louis otto /cake % cp louis ireland /cake % ls ireland louis /cake %
total 40 keystrokes
1) Go to the /cake directory.
^/ c a k e /
(The first ^/ goes to the root directory. Use cmd/ on Mac.
Then you select cake by typing.
The second / opens the cake directory.)
2) Select the file louis, use the standard Copy command to
copy its name to the clipboard.
X11: l o ^C
Mac: l o cmdC
(Type just enough letters to pick louis out from the crowd.)
3) Go to the ireland directory and duplicate the file there.
X11: i r / altD shift^alt V
Mac: i r / ^D cmd^ V
( i r / opens the ireland directory.
alt D says to make a Duplicate instead of moving or linking or whatever.
On X11 the shift is optional on the V.)
total 14 keystrokes and 8 modifiers
For more details about the copy and paste commands in Interrogator, see the Copying discussion.
Documentation > Unix Command Index > cp |
|
||||