LINUX Experience
Friday, August 10, 2012
Copy remote content in vi editor
You can copy content from one file to another file by using vi editor.
Say for Ex: you need to copy the content of test1 file to test2 file.
vi test2
file
then
Esc key and : key
type below command.
r ! cat /root/test1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment