vim save and quit

Most Relevant Content

  • Linux Text Editor

    Everything is file in Linux operating system. So, anyone who wants to work with Linux operating system (specially, Red Hat or CentOS) must learn how to edit files in Linux operating system. Because, it is always prefer to avoid graphical user interface (GUI) for changing system configuration parameters in Linux operating system unlike Windows operating system.  You should be expert enough to edit any file in Red hat Linux operating system  otherwise you will face a lot of difficulty to maintain your Red Hat Linux operating system. Red Hat Linux files can be edited with command line editor such vi, vim, nano etc or graphical user interface (GUI) editor such as gedit. But Red Hat Linux administrators always prefer to work with command line editor. So, this article is designed to show you how to work with Red Hat Linux command line editor (vi/vim text editor) properly. Vi / Vim Text Editor If you are familiar enough with Windows operating system, you may see notepad or WordPad which is default file editor in Windows operating system. Similarly vim, nano, emac, pico and gedit are various file editors in Red Hat Linux operating system.  Among these, vi and vim are the [...]

    READ MORE »

  • More Similar Content

  • »

    Ubuntu Server Set Static IP Address with Netplan |   July 1, 2021

    Ubuntu Server is one of the most popular open source sever operating systems. Ubuntu Server can be used in production without any hassle. In my previous article, I discussed how to install Ubuntu Server’s latest version (Ubuntu Server 20.04) with LVM. In this article, we are going to see how to assign static IP address in Ubuntu Server with Netplan network management tool. Netplan Since Ubuntu Server 17.10, Netplan is being used as the default network management tool instead of [...]

    READ MORE »

  • »

    Managing Disk Partition with the parted Tool in CentOS 7 |   March 2, 2019

    As a system administrator, sometimes you may require to manage partitions of your CentOS/Red Hat Linux Operating System. Partition management is always a risky task. But there are some useful tools those are so helpful to manage CentOS/Red Hat Linux disk partition easily. In my previous article, I discussed how to manage CentOS/Red Hat 7 HDD partitions with the fdisk utility. The fdisk tool is only eligible to manage MBR partition table. But GPT partition table is now becoming more [...]

    READ MORE »

  • »

    CentOS 7 Partition Management with fdisk Utility |   February 11, 2019

    CentOS or Red Hat Linux is a popular server operating system to the system administrators. Almost all the system admins or IT guys who play with mail server, file server, proxy server and so on are so known with CentOS or Red Hat Linux and cannot go a single day without this operating system. The guys who are also wish to be a system admin should be familiar with CentOS or Red Hat operating system. In my previous article, I [...]

    READ MORE »

  • You May Also Like

  • »

    MikroTik RouterOS Device Mode: Home, Basic, and Advanced – and Their Impact on Hotspot Setup |   November 4, 2025

    MikroTik RouterOS offers flexible configuration options for everything from home routers to ISP-grade hotspots. When setting up your MikroTik device, you’ll see a Device Mode option in Quick Set — allowing you to choose between Home, Basic, or Advanced modes. These modes define how much control you have over the router’s features and directly affect your ability to create and manage a Hotspot network. In this guide, we’ll explain each mode, show you how to check and change device mode [...]

    READ MORE »

  • »

    MikroTik Router Static DHCP Server Configuration |   October 25, 2015

    DHCP Server assigns IP address and other related IP information (Subnet mask, Gateway and DNS) automatically to network devices. But automatic DHCP Server has some disadvantages too. If any IP device connects to any automatic DHCP network, the device will get an IP address and related IP information automatically by the DHCP Server and the device will start to use resources of this network. In this situation, the network administrator cannot know who is being connected to the network and [...]

    READ MORE »

  • »

    How to Secure MikroTik RouterOS Login Users |   February 19, 2021

    MikroTik RouterOS is a bridge between WAN and LAN. So, it is mandatory to apply RouterOS login user security policy. Otherwise, RouterOS may so insecure.

    READ MORE »

  • »

    MikroTik DHCP Server Configuration in RouterOS 7 |   October 14, 2015

    Dynamic Host Configuration Protocol (DHCP) is a client/server protocol. DHCP server automatically provides an Internet Protocol (IP) address and other related information such as subnet mask, default gateway and DNS to DHCP clients. DHCP server and client use UDP port 67 and 68 for communication. In a network, a DHCP client (IP devices such as Desktop, Laptop, Smartphone etc.) requests for an IP lease to DHCP servers and a DHCP server responses allocating IP address and other related IP information [...]

    READ MORE »

  • »

    MikroTik CAPsMAN and CAP Basic Configuration using Winbox |   February 20, 2020

    MikroTik CAPsMAN (Controlled Access Point system Manager) is a centralized Access Point management application provided by MikroTik.  MikroTik introduces CAPsMAN from RouterOS v6.11 with CAPsMAN v1 and from RouterOS v6.22rc7 CAPsMAN v2 is running. If you have multiple MikroTik CAPs (Controlled Access Point) in your organization, CAPsMAN provides an easy way to maintain client data as well as CAPs configuration centrally. In my previous article, I discussed how to configure MikroTik Wireless Router as an Access Point. In this article, [...]

    READ MORE »

  • »

    How to Mount USB Device in CentOS 7 (NTFS and Linux FS) |   February 18, 2019

    USB Hard Disk Drive or USB Flash Drive (Pen drive) is a popular external device that can be used to backup data or transfer data from one device to other device. In GUI (Graphical User Interface) Operating System such as Window or GNOME Desktop in Linux can automatically mount USB device and can show data in it if the File System of that device is supported. But all users do not like or always do not have GUI mode of [...]

    READ MORE »