reading-notes

Reading notes about code for my future reference.

View the Project on GitHub

Class 02 Readings Notes

Choosing a text editor!

A text editor is an online tool or built in software that allows you to edit or configure text and also has capabilities to design websites.

Code completion and syntax highlighting are a few features that allow convenience and aswell as the ability to install themes and extensions.

First Party Options You could use pre installed text editors that come with the pre installed OS. Such as Notepad for example these are often barebones! You might have to manually configure the extensions for the files after your complete adding on to the toll of a inconveience!

Third Party Options There are options such as BBEdit, Text Wrangler, Text ++, and Visual Studio All ranging in features for a varying level of budgets and experience levels! Some are compatible with all OS software and some are exclusive to MAC. But they serve the purpose of a text editor at the most basic function. IDES So IDES are INTEGRATED DEVELOPMENT ENVIROMENTS which serve more of a purpose than being a text editor! Where it will debug, compile, and manage files all at once as well as serve as text editor! They are more complex and serve a advanced purpose!

So start with a text editor! :)

The Command Line

So this resource provides a break down of how commands works.

-It begins by explaining inputs, outputs, and lines designations.

-It starts with a user@bash which is the current user accessing the terminal

-Then it proceeds to elaborate various inputs and outputs that can be used to have a result!

Here are a few examples! pwd print working directory = You are here directory

ls list = list shows a comparison of all the directories

cd = change directory, lets you navigate file paths

Tip: typing the first letter and hitting TAB will auto complete

Code .= open VS code

Cd . = level change = amount of dots +1\

mkdir = Create a folder -These are just a few examples to name a few and not neccesarily included into the reading but are good for reference!

-The resource ends with the result which is what happens after you input a command!

Basic Navigation

So basic navigation is an overview on how to navigate the command line interface!

It begins with elaborating on PWD which is print working directory! Which tells you which directory you are currently in!

Then it brings up LS which is list which allows you to see what is located in your current directory!

It then segways into absolute and relative directories

Absolute Directories are defined either by whether they start with a ~ which is the root or a / which is related to a root directory

And relative directories do not begin with these designations but are rather navigated throughout the course!

More About Files!

Terminals are case sensitive it can’t distinguish the difference between File.txt and FIle.TxT it takes it to the most literal sense.

Spaces are used to seperate between files and commands and a file will never have spaces in them!

Quotes give specific files a designation that they can fit under and \ can be used to break these designations!

Hidden files can be made with an a. and -a can be used to reveal these directories!

Back to Home