A healthy set of extensions available when needed.
text editors that are pre installed on your computer generally lack the components listed above. However, if you do decide to use one of these preloaded programs, make sure that the program does the following:
- Creates code in plains text. You shouldn’t see any options for making bold, italic, underlined, etc…
- File structure needs to be organized by you. Make sure that all files are saved in the appropriate folders or subfolders
- Double check your file extensions
- Double-check your code! No code completion means you will need to double-check yourself for typos.
IDE’s contain text editors, but in a suite of software with a file manager, a compiler, and a debugger
Text editors change often, so keep up with the times so that your coding experience is efficient to your style.
➜ ~ls-lArgument
Spaces have to be between each of the 4
The shell is the part of the operating system that defines how the terminal will act and appear after commands. The most common shell is known as Bash.
Use the command
echo $SHELLto find out what shell you are using.
PWDStands for “Print Working Directory”
lsStands for “List”
-l`, this will now give you more information about the files. This will show what type of file it is, Permissions, Blocks, Owner, group or directory it belongs to, file size, file modification time, name of file or directory.ls -l /etc, we can see a list of that directories contents.A path refers to a file or directory on the “command line” or “terminal”
Absolute paths specify a location (file or directory) in relation to the root directory.
/).
Example:
/home/justin/documents/file1.txt
Relative Paths specify a location in relation to where you are within the system.
/.
Example:
ls documents file1.txt
~ (tilde) represents a shortcut for home directory
. (dot) represents the current directory... (dotdot) Represents the parent directory
Example: If you are in ‘/home/justin,’ you can run the command:
ls ../ ../to get a listing of the home or root directory.
CD (Change directory)
cd` can be ran without any arguments to take you back to the home directory
cd is ran with a single command line argument to show where we want to go.Tip: You can use the “tab” button to help complete the command line possibility as long as there is only one possible outcome.
mkdir (Make Directory)
touch (Create a new file)
PWD - Print Working document will show you your location in the terminalls - List will show you a list of files in your current locationcd - Change Directory will take you to the file or directory you choose. However, just stating cd will take you to your home directory.mkdir - Make Directory will create a new foldertouch - Creates a new fileCD Projects - Changing location in the terminal to the folder named “Projects”mkdir new-project - Create a new folder or directory within the “Projects” foldertouch new-project/newfile.md - the user is creating a new file within the “new-project” foldercd .. - returning to the parent directory of “Projects”ls projects/new-project - asking for a list of files within the “new-project” folder that is contained in the parent directory called “projects”