Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

vi command linux

big-mac-overflow answered on November 1, 2020 Popularity 10/10 Helpfulness 2/10

Contents


More Related Answers

  • linux install vi
  • install vim linux
  • bash vi mode
  • vim run shell command
  • open video linux terminal
  • vi quit
  • install vim linux
  • vite command
  • how to exit vi in linux
  • vi editor
  • viu linux
  • vim define command
  • terminal open vim
  • bash vi exit
  • how edit the vi editor page and commands
  • basic vim commands
  • show commands in vim
  • Global VIM Commands
  • VIM Editing Commands
  • how use vim in linux

  • vi command linux

    2
    Popularity 10/10 Helpfulness 2/10 Language shell
    Link to this answer
    Share Copy Link
    Contributed on Jul 29 2022
    big-mac-overflow
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    2

    $ vi — Open or edit a file.

    i — Switch to Insert mode.

    Esc — Switch to Command mode.

    :w — Save and continue editing.

    :wq or ZZ — Save and quit/exit vi.

    :q! — Quit vi and do not save changes.

    yy — Yank (copy) a line of text.

    p — Paste a line of yanked text below the current line.

    o — Open a new line under the current line.

    O — Open a new line above the current line.

    A — Append to the end of the line.

    a — Append after the cursor’s current position.

    I — Insert text at the beginning of the current line.

    b — Go to the beginning of the word.

    e — Go to the end of the word.

    x — Delete a single character.

    dd — Delete an entire line.

    Xdd — Delete X number of lines.

    Xyy — Yank X number of lines.

    G — Go to the last line in a file.

    XG — Go to line X in a file.

    gg — Go to the first line in a file.

    :num — Display the current line’s line number.

    h — Move left one character.

    j — Move down one line.

    k — Move up one line.

    l — Move right one character. 

    Popularity 10/10 Helpfulness 4/10 Language shell
    Source: Grepper
    Tags: shell shel
    Link to this answer
    Share Copy Link
    Contributed on Mar 28 2023
    Yucky Yacare
    0 Answers  Avg Quality 2/10

    4
    Popularity 10/10 Helpfulness 2/10 Language shell
    Source: Grepper
    Tags: linux linu
    Link to this answer
    Share Copy Link
    Contributed on Nov 01 2020
    Disgusted Duck
    0 Answers  Avg Quality 2/10

    3
    Popularity 10/10 Helpfulness 2/10 Language shell
    Source: Grepper
    Tags: linux linu
    Link to this answer
    Share Copy Link
    Contributed on Jul 17 2021
    Tech Brigadier
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.