Unix workbench 2
I've kind of fallen off the wagon a bit with this course.
Today I'm learing how to make text files with the head command. I still don't know how to do this really. I imagine I will have to look things up all the time whenever I use bash.
I did relearn how to :w and :q when things get sticky.
cp copies files and there are also diff and sdiff to help you compare things.
md5 and shashum can be used to do checksums and whatnot, both creating and checking.
the pipe expression seems very useful. you can take the output of one expression and pipe it to another:
A more common and useful example where we could use the pipe is answering the question: “How many US states end in a vowel?” We could use grep and regular expressions to list all of the state names that end with a vowel, then we could use wc to count all of the matching state names
No comments:
Post a Comment