Learning bash

[This article was first published on Pete Talbert, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Hello all!

So I just bought a used MacBook Pro in order to learn Linux, bash, shell scripting, etc. This post is just to test that I can write bash code in an .Rmd file and it will show on my blog correctly.

ls
## 2018-11-13-can-i-write-sql-in-r-markdown.Rmd
## 2018-11-13-can-i-write-sql-in-r-markdown.html
## 2018-11-15-connecting-to-ms-sql-server-in-r.Rmd
## 2018-11-15-connecting-to-ms-sql-server-in-r.html
## 2018-11-16-ggplot2-geom-bar-labeling.Rmd
## 2018-11-16-ggplot2-geom-bar-labeling.html
## 2018-11-22-pivoting-data-in-sql-vs-r.Rmd
## 2018-11-22-pivoting-data-in-sql-vs-r.html
## 2018-12-10-learning-for-loops-in-r.Rmd
## 2018-12-10-learning-for-loops-in-r.html
## 2018-12-29-working-more-with-the-baumann-dataset.Rmd
## 2018-12-29-working-more-with-the-baumann-dataset.html
## 2019-02-21-plotting-factors-with-forcats.Rmd
## 2019-02-21-plotting-factors-with-forcats.html
## 2019-03-02-window-functions-in-r-and-sql.Rmd
## 2019-03-02-window-functions-in-r-and-sql.html
## 2019-11-24-consulting-services.Rmd
## 2019-11-24-consulting-services.html
## 2020-02-28-for-loops-for-quick-summaries-in-r.Rmd
## 2020-02-28-for-loops-for-quick-summaries-in-r.html
## 2020-03-05-learning-bash.Rmd
## 2020-03-05-learning-bash.html
## dsn-setup.PNG

Hey, that’s pretty cool! It looks like it is showing the directory where this .Rmd file lives.

cd /
ls
## Applications
## Library
## Network
## System
## Users
## Volumes
## bin
## cores
## dev
## etc
## home
## installer.failurerequests
## net
## private
## sbin
## tmp
## usr
## var

To leave a comment for the author, please follow the link and comment on their blog: Pete Talbert.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)