August 2017 – POFTUT

Monthly Archive: August 2017

0

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 range Specify Range with Numbers Linux bash provides mechanism to...

1

Vim Copy, Cut and Paste Commands and Operations

Vim provides different shortcuts for copy, cut and paste operations. These commands are one of the most used and problematic commands because of vim command or shortcut based work style. Copy Current Line We can copy current line with the yy command which is named yank. But the cursor should be located in the line we want to copy.

Copy Lines We will again use yy command in order to copy...

0

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 Current Line Another useful shortcut for deletion is deleting from...

0

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 editor. So our tutorial will look Plus features of the...

0

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 experience. At work Rent remote labs Using GNS3 similator Using...

1

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 systems. Download Vim official web page provides download links for...

0

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 opening file this command will not work because this command...

0

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. We will use search commands. In this example we will...

0

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 will list number of changes and time information. We will...

0

Vim Go To Line with Different Ways

Vim provides a lot of useful features and shortcuts during usage. In this tutorial we will look different ways to go specified line numbers or position in a file. Show Line Numbers In this tutorial we will learn navigating to the specified line in vim. But how can we specify line we want to go. We need line numbers. We are sure that counting line numbers one by one is...

Enjoy this blog? Please spread the word :)