Linux , Git , Emacs & Vi.

Michelle Juma
2 min readFeb 22, 2022

--

Whew.
Second week in and I can say I learnt alot than I thought I would. Basically what we have done is stuff — with shell , CLI but let me break it down.

Unix/ Shell Navigation.
What is this? you might or not ask. Whichever , I am still going to tell you.
-The shell is the Linux command line interpreter.
-It provides an interface between the user and the kernel and executes programs called commands.

Some of the basic commands are :(*- suffix the file or directory name)
pwd(view working directory) ,
cp *(copy) ,
cd *(change working directory) ,
less *(see file details),
touch *(creates empty file) ,
ls (lists file in a dirctory),
rm *(removes /deletes files),
rm -r *(deletes files and contents) and other commands , not hard.
*** More information :http://linuxcommand.org/lc3_lts0020.php

Git
This is sort of a command line for/of github? Correct me if I am wrong.
My github has had more commits yesterday than the whole of Jan.

But you can push(upload your code) ,
pull
(download your code),
commit(comment changes you have made)and
clone
(make a copy and edit?) and also
branch (this lets you sort of diverge without affecting the already working code), also helps in where a project has alot of devs on it.

We also learnt how to write README’s (telling other people about your project)

Vi
This is mostly used in the unix shell , sort of editing and all that for files. It comes default in all Unix. I like this one , than Emacs -(rolls eyes).
It’s commands are not complex and it is easy to understand.
More info found here :https://www.cs.colostate.edu/helpdocs/vi.html

Emacs
What is this ? God , I cannot even tell you what this is . All I can say is that you can play tetris by invoking M-x Tetris.
According to a site it is a programming platform, not just another editor in the sense that people think.
You also have to add C-x(Control X)to every [command]. Example is saving a file is C-x C-s.
People like this editor , I do not know why , but we will learn it with time.

NB: I am writing all this information according to my understanding so if I get something wrong , tell me. It is a learning process.
I cannot wait for next week.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Michelle Juma
Michelle Juma

Written by Michelle Juma

My other github — but with more words.

No responses yet

Write a response