layout | title | permalink |
---|---|---|
page |
102-02 Reading Notes |
/102-02/ |
- Syntax highlighting
- Reduced eye strain
- Comfortable layout
- Auto-complete
- Bracket, quote closing
- Features & functionality beyond basic text
- Adaptability for future changes/needs
- Typeface changes are a red flag
- Keep saved file extension suffix in mind
- No coding assistance
- IDEs include features like compiling & debugging
Command line = Terminal
-Prompt-> command -> command line arguments
- "Commands" are followed by spaces and then by command line arguments
- Not all commands produce output when successful
- Shell: OS feature managing terminal behavior & appearance
- "Up Arrow" & "Down Arrow" keys retrieve previous command entries
-
'PWD' (Print Working Directory) : outputs current working location
-
'ls' (List) : outputs files & directories at location; can be refined with command line options & arguments
-
'cd' (Change Directory) : used with command line arguments to change to specified directory (returns home if blank)
-
[in Linux] 'file' : Outputs file type at specified path
- Files & directories identified within tiered structure
- Root directory is
/
, followed by subdirectories - Relative (no specified directory; no initial
/
) or Absolute paths may describe the same file ~
: Home directory stand-in in paths.
: Current directory stand-in in paths..
: Parent (root-ward) directory stand-in in paths; can be repeated (ie., "../../Document1.txt)"- [In Linux] Can be hidden with
.
preceding file name, ie. " .Document1.txt" ; "-a" command line argument for 'ls' command includes hidden files
- Hit 'Tab' key for auto-complete (hit again if multiple possibilities); automatically escapes spaces in paths
- [In Linux] Case sensitivity in paths (including extension suffixes) and commands
- Be wary of spaces in path names (use quotes around path in terminal, ie. " 'My Documents ' " or '' before space, ie. "My\ Documents")