Lecture 1: Getting started with Linux, vim, and git
Today, we are covering the course syllabus and the basic tools we need to complete the work for the course: Linux, vim, and git. These aren’t hard, but they are not intuitive and it will take practice before you get comfortable. Take the time now to go through the tutorials that I point to and you’ll set yourself up for success throughout the course.
Course intro
Using the course server and basic Linux
Key topics:
- Using
ssh
to get to the server:ssh [netid]@csci112.cs.montana.edu
- Linux commands:
pwd
,ls
(ls -a
),cd
,mkdir
,rm
,touch
,man
,cp
,mv
, Ctrlc
, ctrld
, tab completion
Additional links and resources:
- For Windows users, download Cygwin (see “Installing Cygwin” section), open it, and use as you would the Mac/Linux terminal in the video.
- Some basic Linux commands: https://maker.pro/linux/tutorial/basic-linux-commands-for-beginners
Using vim and creating your vimrc
Key ideas:
- Run
vimtutor
and get through Lesson 4 to practice vim commands .vimrc
file holds all of yourvim
configuration
Additional links and resources:
- Browser-based vim game to practice the vim keystrokes: https://vim-adventures.com/ (if you get stuck, feel free to use Google to see how you’re supposed to get through a section…)
- A vimrc tutorial: https://linuxhint.com/vimrc_tutorial/
- Some more vim commands: https://dev.to/prodopsio/vim-a-to-z-literally-1iah