class: center, middle # Auburn Library Carpentry Workshop ## Day 2 Summary and Day 3 Plan --- #Day 2 Summary - Can use regular expressions for text data mining - finding particular words, names, telephone numbers and email addresses - Can use regular expressions in spreadsheets - The Unix shell allows you to automate repetitive and/or large data analysis tasks - Need to learn some commands to use the Unix shell - Can use Unix Shell commands in scripts to avoid entering them over and over again - **You can now program**! --- #Day 2 Highlight - Your lifestyle has improved because **you can now program**
via GIPHY
--- # Unix Bash Command Summary - fill in the blanks | Command | Summary | * | Command | Summary | |:-------:|:-------- |------|:-------:|:--------| | ls | list files or folders in location | * | man | | | pwd | print working directory | * | cd | Allows user to change directory | | mv | move a file or folder from one place to another. Also used to rename a file or folder | * | cp | copy file to new location with a different path | | grep | | * | wc | word count | | echo | copy | * | head | show first ten lines | | tail | show end of file | * | cat | | | less | | * | history | | | for | | * | do | | | done | | * | curl | | --- # Day 3 Plan - 8:30-9:25 [Unix shell](https://librarycarpentry.org/lc-shell/05-counting-mining/index.html) continued - break - 9:35-10:25 [Git](https://librarycarpentry.github.io/lc-git/) - break - 10:35-11:25 [Git](https://librarycarpentry.github.io/lc-git/) continued - break - 11:35-12:30 [Text mining small group exercise](https://librarycarpentry.org/lc-shell/06-free-text/index.html) --- # Further Examples - The code for this presentation is available [here](https://github.com/bkmgit/simple-slides) - It uses [remark](https://github.com/gnab/remark) - [1-2-3/remark-it write power point like a programmer](https://github.com/1-2-3/remark-it) - Fork the examples and customize for your own purposes - Happy coding!