Faruk AKÇAY
  • ANA SAYFA
  • Microsoft
    • Azure
    • DPM
    • Exchange Server
      • Exchange Server 2007
      • Exchange Server 2010
      • Exchange Server 2013
      • Exchange Server 2016
    • IIS
    • PowerShell
    • SQL Server
    • Windows
    • Windows Server
      • Server 2003
      • Server 2008
      • Server 2012
      • Server 2016
  • VMWARE
    • Esxi 5.1
    • Esxi 5.5
    • Esxi 6
  • AWS
  • OTHERS
    • Linux
    • Anti-Virus
    • DELL
    • PRTG
    • Veeam
    • DIGERLERI
  • Gezi
  • Ürün İnceleme
  • HAKKIMDA
  • İLETİŞİM

Faruk AKÇAY

  • ANA SAYFA
  • Microsoft
    • Azure
    • DPM
    • Exchange Server
      • Exchange Server 2007
      • Exchange Server 2010
      • Exchange Server 2013
      • Exchange Server 2016
    • IIS
    • PowerShell
    • SQL Server
    • Windows
    • Windows Server
      • Server 2003
      • Server 2008
      • Server 2012
      • Server 2016
  • VMWARE
    • Esxi 5.1
    • Esxi 5.5
    • Esxi 6
  • AWS
  • OTHERS
    • Linux
    • Anti-Virus
    • DELL
    • PRTG
    • Veeam
    • DIGERLERI
  • Gezi
  • Ürün İnceleme
Linux

Using ‘vim’ to Create and Edit a File

written by faruk 12 Eylül 2018

Using ‘vim’ to create and edit a file

  1. Log into your server via SSH.
  2. Navigate to the directory location you wish to create the file, or edit an existing file.
  3. Type in vim followed by the name of the file. For example, if you wish to create (or edit) a new file named test.html, run the following:
    [server]$ vim test.html
    The ‘vim’ editor may appear confusing at first because you cannot type into the file yet:
    vim 01.png

  1. Click the letter ‘i‘ on your keyboard to enter INSERT mode in ‘vim’.
    It now shows — INSERT — on the bottom left:
    vim 02.png
  2. Start typing into the file.
  3. When finished editing the file, click the ESC key. This takes you out of INSERT mode and — INSERT — disappears from the bottom left of your terminal.
  4. To save the file, type in a colon followed by wq. For example:
    :wq
    The characters :wq appear on the bottom left:
    vim 03.png
  5. Click the ‘Enter’ key on your keyboard to save.
Using ‘vim’ to Create and Edit a File was last modified: Eylül 12th, 2018 by faruk

Bunu paylaş:

  • X'te paylaş (Yeni pencerede açılır) X
  • Facebook üzerinde paylaş (Yeni pencerede açılır) Facebook

İlgili

edittextlinuxvim
0 comment
0
Facebook Twitter Google + Pinterest
faruk

previous post
Using ‘nano’ to Create and Edit a File
next post
How to Rename Files in Linux

You may also like

Linux Üzerinde Çalışan Servislerin Kontrolü (Check Running...

23 Ocak 2018

Ubuntu Klavye Değişikliği (Turkish Q)

19 Ocak 2018

How to Rename Files in Linux

12 Eylül 2018

Using ‘nano’ to Create and Edit a...

12 Eylül 2018

Leave a Comment Cancel Reply

Son Yazılar

  • .Net Framework 3.5 Windows ISO üzerinden Offline olarak Yukleme
  • Office 365 ‘te Bloklanan Userların Kilidini Kaldırma
  • Exchange Server Üzerinde Distribution Grup Uyelerini Gizleme
  • Yiğit Akü Üretim Tarihi Nerede Yazar ?
  • Window Server 2016 üzerine Docker Kurulumu

Son yorumlar

    Arşivler

    • Haziran 2021
    • Nisan 2020
    • Mart 2020
    • Eylül 2018
    • Mayıs 2018
    • Ocak 2018
    • Kasım 2017
    • Ekim 2017
    • Eylül 2017
    • Ağustos 2017

    Kategoriler

    • AWS
    • Azure
    • Diğerleri
    • Docker
    • Exchange Server 2007
    • Exchange Server 2010
    • Exchange Server 2013
    • Exchange Server 2016
    • Genel
    • IIS
    • Linux
    • PowerShell
    • Server 2012
    • Server 2016
    • Windows
    • Windows Server

    Üst veri

    • Oturum aç
    • Kayıt akışı
    • Yorum akışı
    • WordPress.org
    • Facebook
    • Twitter
    • Instagram
    • Pinterest
    • Tumblr
    • Youtube
    • Bloglovin

    @2016 - PenciDesign. All Right Reserved. Designed and Developed by PenciDesign


    Back To Top