Second Day of School
Terminal! We are learning about terminal, shell, and their functions relative to each other. Thank god. This shit confuses the crap out of me.
CLI is a more direct way to interact with and command your computer to execute tasks without having do it yourself(manually).
Terminal is a portal through which Shell can operate.
Bash, Zsh are types of shells.
Terminal and iTerm are types of terminals.
We’re also learning shell commands and flags. There’s a basic exercise where I have to use easy commands to execute tasks: rm, ls, cd, mv, etc…. and medium commands:sudo, grep, cat….
I think there’s a lot more to it than face-value. What I mean is: I’ll type in a command to remove a folder and it can’t be moved because it claims “this folder isn’t empty”. Well, it’ll look empty, so…? I learned that sometimes hidden files are present, and there is a way to access those files when necessary. When we participated in our CLI Mystery challenge, I’d look over the contents in a file and not see the info that I’m looking for, even after scrolling and double-checking. When I use “grep” or “head” I could then find the info. Weird. But, I get it. We’re not supposed to this manually. That’s not the point of using terminal and shell.
I had a proud moment today. I discovered a command in the CLI Mystery challenge that allowed me to access a search in multiple folders. It was tedious (I listed each file) but I figured it out on my own with a guess.
Mental State: I’m feeling pretty good. I’m not overwhelmed yet, and the material makes sense. I’ve started exercising each day and eating conscientiously. It’s too soon to see how much of an impact it’s having, but I can’t imagine it’s negative in any way. Still adjusting to my sleep schedule.