Month: August 2017

Linux Bash For Loop Range Examples

Bash for loop is popular programming structure used by a lot of Linux system administrators. For loops can be used in a lot of different cases. We have all ready examined the bash while and for loop in the following tutorial. Bash For and While Loop Examples In this tutorial we will look more specific topic named for loop with

Continue reading

How To Delete Single and Multiple Lines In Vim?

Vim provides different keyboard and command shortcuts. One of the most used action is delete . Vim provides a lot of different use cases for deleting single and multiple lines. Delete Current Line Vim has cursor which will reside current active location. We can delete this line completely with the D or dd command.

Or

Delete To The End Of The

Continue reading

Compare Vi vs Vim

Vi is old school text editor developed for Unix operating system. Linux distributions also provides vi by default. But what is is vim . Vim is improved version of the vi. Actually vi has a lot of alternative versions but vim is the most popular and accepted version. Enhanced Version Vim As stated previously vim puts more features to the vi text

Continue reading

How To Download, Install Packet Tracer Into Windows?

Cisco Provides different level of certifications for its products and general network topics. We have all ready examined CCNA certifications in the following tutorial. What is CCNA or Cisco Certified Network Associate? Cisco certification exams mostly depends on practical experience. So a person who want to get certified needs practical experience. Here is a list of ways to get practical

Continue reading

How To Download, Install and Use Vim In Windows

Vim is Linux based opensource tool. The roots goes to the vi editor. In Linux distributions vim can be easily installed via package managers like apt , yum , dnf and zypper . Windows is the most popular desktop operating system. Vim is provided for Windows operating systems too. In this tutorial we will look how to download, install and use vim in Windows Operating

Continue reading

How To Exit From Vim?

Vim have different and alternative solutions for different requirements. In this tutorial we will look different ways to quit or exit and save and exit. In this tutorial we will use quit and exit for the same thing. Exit or Quit The most used and simple usage is just exiting or exiting from the current vim session. If there is changes after

Continue reading

Vi and Vim Search and Replace Operations

Vim provides reach features for text and word search and replace operations. Sed and awk provides similar features to Vim but vim is text editor which makes it different from others. Sample Text During examples we will use following sample text.

Search and Replace In Whole Document The most popular use  case is search and replace in whole document.

Continue reading

Vim Undo and Redo Operations

While editing text files with vim we can make some little mistakes or want to revert to the previous states. In Microsoft Word there is features rich undo and revert functions. The similar undo and revert functionalities provided by vim too. List Changes In order to revert back we can list changes and related information. With the :undolist command we

Continue reading
Open

Enjoy this blog? Please spread the word :)