Tuesday 1 February 2011

Replace command


$ ls myfile
$ ^myfile^myotherfile


^X^Y - will replace X with Y.

Hence - the second command will do: ls myotherfile

No comments:

Post a Comment