IP-Life.net

IP-Life.net

The Adventures of a Network Security / Storage 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 July 18, 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 February 10, 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 January 28, 2016January 28, 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 January 28, 2016 Linux, Text Editors, Vim No Comments Read more

Recent Posts

  • OSPFv3 Authentication Palo Alto to Cisco Router
  • Expanding Linux Raid ESXi
  • Palo Alto Dual WAN branch office to Netscreen HQ
  • DNS Based Challenge Verification SSL Certificates
  • Linux Bash Printing Columns using AWK
  • VMware ESXi 5.5 – Hardware Health Status shows “Unknown”
  • Saving a read-only file edited in vi / vim
  • Juniper Netscreen Track IP
  • Unable to SSH Between Systems
  • Cisco Span Port Configuration

Tags

Active Directory Apache ASA bash Cacti CentOS Certificates chown Cisco EMC ESXi Firewall HP IPv6 Isilon Juniper Key Pairs Linux Microsoft Mint Netscreen Networking Network Monitoring NFSv3 Palo Alto Proxy RANCID Regex rsync Secure Copy Security SOCKS Sophos UTM9 SSH SSL Text editors TFTP Ubuntu Ubuntu 10.04 LTS ufw vim VMware Vyatta Vyos Wordpress

Categories

Archives

  • 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 © 2018 IP-Life.net. Powered by WordPress. Theme: Spacious by ThemeGrill.