Created
June 27, 2016 19:36
-
-
Save YKV/6c483ff5ca09551de2580e5d49878792 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Write a command that will output the number of times the cat command was used previously | |
history | grep -o "cat" | wc -l | |
//Write a command to output a count of all words in the unix dictionary file that begin with the letter "a" | |
grep "^a" /usr/share/dict/words | wc -l | |
//What operating system (OS) vendor and version is your vagrant box running? | |
Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 | |
//What operating system (OS) vendor and version is your vagrant box running? | |
uname -v | |
//Return all the words in the dictionary that start with "a" and end with "s" | |
cat /usr/share/dict/words | grep "^a" | grep "s$" | |
//Using one unix command, download & save the following page:https://www.lighthouselabs.ca/index.html | |
curl -o https://www.lighthouselabs.ca/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment