Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh Linux/Unix
  • FRA Information. Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • Jai Shree Ram Oracle
  • Drop database in Oracle 10g Oracle
  • Unix command for system configuration Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • oracle Dba site Oracle
  • Ports used by Oracle Software Oracle
  • Goog notes on X$ tables Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Caching sequence in Memory Oracle
  • to see when crontab is changed. Linux/Unix
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • runsql_once.ksh Linux/Unix

Search and Replace vi editor command.

Posted on 29-Jul-2005 By Admin No Comments on Search and Replace vi editor command.

Changing Case

To change all the lower case characters to UPPER case characters, starting from the current line, and going for 5 lines, type

:s/^.*$/U&/5

To change from UPPER to lower, type

:s/^.*$/L&/5

Deleting characters

To delete the first 5 characters off of every line in the current file, type

:%s/^…..//g

Linux/Unix, shell

Post navigation

Previous Post: newupload.html
Next Post: For Search and replace unix command.

Related Posts

  • Logic to chech # of parameters command line parameters Linux/Unix
  • Search and replace editor command in vi Linux/Unix
  • .profile Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • backspace in SQL Plus not working then..? Linux/Unix
  • To find explain plan for a statement that occurred in past. Oracle
  • track_autoupgrade_copy_progress.sql Oracle
  • Proc Compilation Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • find_idle_cpu.sql Oracle
  • TNSNAMES entries details Oracle
  • secure crt settings Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme