Find the answer to your Linux question:
Results 1 to 2 of 2
linux -- 2.6.9 hey i am new to linux ,, let me know how the change a part of sentence in a vi editor like in init.ora file we have ...
  1. #1
    Just Joined!
    Join Date
    Nov 2009
    Posts
    1

    vi editor

    linux -- 2.6.9

    hey i am new to linux ,, let me know how the change a part of sentence in a vi editor

    like in init.ora file we have

    audit_file_dest='/home/oracle/product/10.2.0/db_1/admin/test/adump'

    user_dump_dest='/home/oracle/product/10.2.0/db_1/admin/test/udump'

    log_archive_dest_1='/home/oracle/product/10.2.0/db_1/dbs/arch'

    i wanna change this >>'/home/oracle/product/10.2.0/db_1<< part to

    >>/u01/test/cp1/<<

    i have tried this option ,, in editor

    : s/</home/oracle/product/10.2.0/db_1>/</u01/test/cp1/>/g

    error trailing characters ???

    thank u
    good day

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Google: vi cheat sheet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...