Last active
June 27, 2016 19:27
-
-
Save YKV/c2921bba75a3d5224753dd445d6d6a13 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 | |
//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