Thursday, October 9, 2025

How to delete all lines above and below the current line in the text editor vi

In vi (or vim), you can delete all lines above the current line with this one simple command:
:1,.−1d
To delete all rows above the current lin, press d (delete) followed by capital G (end of document):
d + G

Monday, October 6, 2025

How to check if your EBS system is on AD/TXK Delta 13

SELECT bug_number, creation_date
FROM   ad_bugs
WHERE  bug_number IN (
  -- AD/TXK Delta 13 driver patch numbers
  '35163625','35163283','35163924','35162879'
)
ORDER BY creation_date DESC;
If no rows are returned, you are not on AD/TXK Delta 13, yet