Intro to vi text editor

Поділитися
Вставка
  • Опубліковано 25 лис 2024
  • In this workshop we'll show you how to use the Vi text editor on a Linux system.

КОМЕНТАРІ • 5

  • @saifafghansport2718
    @saifafghansport2718 Рік тому

    How we know gold number for deep seeker 3d which number gold or diamond

  • @benarcher372
    @benarcher372 Рік тому

    But this is not 'vi', it's 'vim', right?

    • @VirginiaCyberRange
      @VirginiaCyberRange  Рік тому

      vi IS vim...
      $ which vi
      /usr/bin/vi
      $ ls -la /usr/bin/vi
      lrwxrwxrwx 1 root root 20 Sep 15 2022 /usr/bin/vi -> /etc/alternatives/vi
      $ ls -la /etc/alternatives/vi
      lrwxrwxrwx 1 root root 17 Sep 15 2022 /etc/alternatives/vi -> /usr/bin/vim.tiny

    • @benarcher372
      @benarcher372 Рік тому

      OK, got it@@VirginiaCyberRange 🙂 I always thought that 'vi' meant the original 'ex' editor in visual mode. But fully understand your point. It's more that all trainings nowadays seems to use the name 'vim' and not 'vi'. Thanks for answering me and best of luck. /ben

    • @VirginiaCyberRange
      @VirginiaCyberRange  Рік тому +1

      @@benarcher372 Yeah.. vi is still a real (separate) project on other UN*Xes.. but on all modern UN*X clones.. vim/vi/nvim is the standard. There's a deep and confusion hisotry of vim/nvim, vi and ex though.. see here:
      vi.stackexchange.com/questions/341/what-is-the-relation-between-vi-nvi-and-vim
      Short of it.. if you're an IT professional who works on Linux/UN*X systems, you need to know basic vi syntax. If you paid to ressurect dead system or fix off line systems with failed RAID arrays or the like.. or even cloud VMs in console single user mode.. and all you have the default system editor (vi/vim).. then you better be ableto do your job and not have to have some easy or convenient tool like nano, pico or EMACS.