Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction:

  • This workshop will introduce how to use the vim command-line text editor within a Linux environment. 

  • It will cover the basics on opening and updating a text file, how to navigate around the text, and how to search for terms. 

  • After the workshop, participants will have the skills to use a text editor to create basic scripts. 

  • Participants are expected to have an introductory level of experience using Linux from the command line – such as that provided by the Intro to Linux workshop.

Course Goals:

  • To introduce users, using the Linux command line environment, to text editors: Specifically vim.

  • Open, edit, update, save and quit a text editor.

  • Use the keyboard and shortcuts to navigate around the text file.

  • Use the command line to search for terms within the text file.



01 Getting Started


01.01 Login

  1. Open up Chrome

  2. Navigate to: https://southpass.arcc.uwyo.edu/

  3. Start Beartooth Shell Access

image-20240522-222558.png


01.02 Download Slides

image-20240523-135809.png

02 Why do we need a Text Editor?


02.01: Using the Terminal/Command-Line

  • We have a non-GUI/non-Windows environment.

  • Unable to start a GUI/Window text-editor type application.

  • We’re using the command-line.


02.03: Available Text Editors


02.04: Why vim?

  • Considerations:

    • What’s available on the system you’re using?

    • Can you install other editors?

    • What is your personal choice?

    • Note: On our Beartooth cluster, vi is an alias for vim – meaning if you start vi, vim will start.


 

 

  • No labels