Skip to content
IP-Life.net

IP-Life.net

The Adventures of a Network Security Engineer

Menu

  • About IP-Life.net
  • BGP Information
  • Contact
  • Technical Resources

vim

Saving a read-only file edited in vi / vim

Introduction A simple but annoying one. You open a configuration file with no intent to change anything, then you think I’ll just change that .. and this.. and 20 minutes later when you go to save you realise you opened

David Messenger 18th July 2017 Text Editors, Vim No Comments Read more

Duplicate Each Line in Vim

Introduction This is a useful one if you do any sort of repetitive script creation as I do and also infinitely easier than figuring it out in notepad++. Need to duplicate every line in a text file? Fix :g/^/norm yyp sorted.

David Messenger 10th February 2016 Text Editors, Vim No Comments Read more

Search and Replace Vim

Introduction Well with my previous post deleting whole lines, I also wanted to delete a whole load of IP addresses which repeat frequently throughout the document and so achieving a clutter free doc. Fix Again in vim, a simple find

David Messenger 28th January 201628th January 2016 Linux, Text Editors, Vim No Comments Read more

Delete all lines containing a pattern Vim

Introduction So I was trying to find a way to remove a whole world of verbose output using excel and not coming up with anything but then found this: http://vim.wikia.com/wiki/Delete_all_lines_containing_a_pattern Fix All I needed to do was upload the file

David Messenger 28th January 2016 Linux, Text Editors, Vim No Comments Read more

Recent Posts

  • Panorama Push Failure
  • Loading Environment Variables in a Cron Job
  • Advertising a non-existent route to BGP in PAN-OS
  • Network Design – VDSL
  • NetBox Automation
  • Testing DNS Glue Records
  • Updating Netfilter Firewall Rules
  • Palo Alto Useful Links and Commands
  • Useful Python Snippets
  • Find & Replace Multiple Files

Categories

Tags

Active Directory Apache ASA bash Cacti CentOS Certificates chown Cisco CRON Drivers EMC Excel Firewall FreeBSD grep IPv6 Isilon Juniper Linux Microsoft Mint Netscreen Networking Network Monitoring Notepad++ Palo Alto PaloAltoNetworks Python RANCID Regex Routing Secure Copy Security Sophos UTM9 SSH SSL Text editors TFTP Ubuntu vim VMware Windows Wordpress yaml

Archives

  • October 2024
  • March 2022
  • February 2022
  • January 2022
  • November 2021
  • April 2021
  • February 2021
  • August 2020
  • June 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • June 2019
  • May 2019
  • January 2019
  • December 2018
  • October 2018
  • July 2018
  • May 2018
  • April 2018
  • February 2018
  • January 2018
  • December 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
IPv6 Certification Badge for davidkmessenger

Copyright © 2025 IP-Life.net. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.