Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to start CRS manually Oracle
  • .profile Linux/Unix
  • Handling LOB data in Oracle Oracle
  • secure crt settings Linux/Unix
  • Formatter Explain plan Output 1 Oracle
  • proc.sql Oracle
  • arch_configUOCIOTTO.ora Oracle
  • logminer and my_lbu Oracle
  • Day to day MYSQL DBA operations (Compared with Oracle DBA) MYSQL
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • Drop database in Oracle 10g Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • AWR settings- MMON is not taking snapshot. Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Temporary Tablespace Information and restriction. Oracle

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

  • send attachment from unix-shell script Linux/Unix
  • CPU speed on solaris Linux/Unix
  • replacing ^M character when passing files from Windows to Unix Linux/Unix
  • Unix command for system configuration Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Drop specific SQL plan baseline – spm Oracle
  • proper cpu stats Linux/Unix
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • metalink all dynamic view reference notes. Oracle
  • Create type and Grant on it. Oracle
  • Roles and Stored Procs II Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • cold backup scripts to copy locally Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme