Introduction:
This workshop will introduce the basics on how to use the a number of text editors from the command-line within a Linux environment. After the workshop, participants will have the skills to use a text editor to create basic scripts.
Course Goals:
To introduce users, using the Linux command line environment, to text editors:
The workshop introduces: vim, emacs and nano.
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.
Notes:
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.
This tutorial is available for download as a PDF here.
Sections
01 Getting Started
02 Why do we need a Text Editor?
03 Other Text Editors
01 Getting Started
Login (Skip if you’ve done this already)
Open up Chrome
Navigate to: MedicineBow OnDemand
Type in your provided username and password. Usually this will be your UWYO username and password, unless you are using an assigned training account.
Authenticate using your preferred 2 factor method (expandable directions below):
Start MedicineBow Shell Access
|
---|
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.02: Available Text Editors
Just one of several available command-line based text editors.
02.03: 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 MedicineBow cluster, vi is an alias for vim – meaning if you start vi, vim will start.
| All Trainings | Next |