danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ cd ~cpen212/Public ---------------------------------------------------------------------------------- danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ find . -name "hello" ./hello ./hello/hello danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ find . -name "hello" | wc -l 2 ---------------------------------------------------------------------------------- danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ find /usr -name "as" /usr/bin/as /usr/lib/libreoffice/share/extensions/wiki-publisher/help/as /usr/lib/libreoffice/share/extensions/nlpsolver/help/as /usr/lib/x86_64-linux-gnu/espeak-ng-data/lang/inc/as /usr/lib/x86_64-linux-gnu/espeak-data/voices/test/as /usr/share/help/as /usr/share/locale/as /usr/share/kf5/locale/countries/as /usr/share/texlive/texmf-dist/tex/generic/babel/locale/as danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ find /usr -name "as" | wc -l 9 ---------------------------------------------------------------------------------- danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ find /usr -name "as*" LOTS OF ENTRIES danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ find /usr -name "as*" | wc -l 1815 ---------------------------------------------------------------------------------- danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ grep foo /usr/share/dict/words Bigfoot Bigfoot's Blackfoot Blackfoot's afoot barefoot +++++++++ danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ grep foo /usr/share/dict/words | wc -l 124 ---------------------------------------------------------------------------------- danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ grep LINUX /usr/include/* --no-ignore-case --directories=skip /usr/include/elf.h:#define ELFOSABI_LINUX ELFOSABI_GNU /* Compatibility alias. */ /usr/include/elf.h:#define ELF_NOTE_OS_LINUX 0 danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ grep LINUX /usr/include/* --no-ignore-case --directories=skip | wc -l 2 ---------------------------------------------------------------------------------- danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ grep DEADBEEF /usr/include/**/* --ignore-case --directories=recurse /usr/include/boost/beast/core/detail/chacha.hpp: input[14] = input[15] = 0xdeadbeef; // Could use 128-bit counter. /usr/include/boost/hana/bool.hpp: //0xDEADBEEF (hexadecimal) /usr/include/linux/wimax/i2400m.h: I2400M_NBOOT_BARKER = 0xdeadbeef, /usr/include/llvm-10/llvm/ObjectYAML/YAML.h:/// For example, it might render as `DEADBEEFCAFEBABE` (YAML does not /usr/include/llvm-10/llvm/ObjectYAML/YAML.h:/// `DEADBEEF`, `"DeADbEeF"`, `"\x44EADBEEF"` (Note: '\x44' == 'D') /usr/include/llvm-10/llvm/ObjectYAML/YAML.h:/// Foo: DEADBEEFCAFEBABE /usr/include/llvm-10/llvm/ObjectYAML/YAML.h: /// For example, a possible output could be `DEADBEEFCAFEBABE`. /usr/include/llvm-10/llvm/Support/FormatProviders.h:/// | x- | Hex no prefix, lower | 0xDEADBEEF | deadbeef | /usr/include/llvm-10/llvm/Support/FormatProviders.h:/// | X- | Hex no prefix, upper | 0xDEADBEEF | DEADBEEF | /usr/include/llvm-10/llvm/Support/FormatProviders.h:/// | x+ / x | Hex + prefix, lower | 0xDEADBEEF | 0xdeadbeef | /usr/include/llvm-10/llvm/Support/FormatProviders.h:/// | X+ / X | Hex + prefix, upper | 0xDEADBEEF | 0xDEADBEEF | /usr/include/llvm/ObjectYAML/YAML.h:/// For example, it might render as `DEADBEEFCAFEBABE` (YAML does not /usr/include/llvm/ObjectYAML/YAML.h:/// `DEADBEEF`, `"DeADbEeF"`, `"\x44EADBEEF"` (Note: '\x44' == 'D') /usr/include/llvm/ObjectYAML/YAML.h:/// Foo: DEADBEEFCAFEBABE /usr/include/llvm/ObjectYAML/YAML.h: /// For example, a possible output could be `DEADBEEFCAFEBABE`. /usr/include/llvm/Support/FormatProviders.h:/// | x- | Hex no prefix, lower | 0xDEADBEEF | deadbeef | /usr/include/llvm/Support/FormatProviders.h:/// | X- | Hex no prefix, upper | 0xDEADBEEF | DEADBEEF | /usr/include/llvm/Support/FormatProviders.h:/// | x+ / x | Hex + prefix, lower | 0xDEADBEEF | 0xdeadbeef | /usr/include/llvm/Support/FormatProviders.h:/// | X+ / X | Hex + prefix, upper | 0xDEADBEEF | 0xDEADBEEF | danial27@ssh-linux4:/ubc/ece/home/courses/cpen212/Public$ grep DEADBEEF /usr/include/**/* --ignore-case --directories=recurse | wc -l 19 ----------------------------------------------------------------------------------