Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create pwd chapter #52

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
chapter_name_order = ["introduction",
"pwd",
"command-line-basics-part-two",
"finding-and-grepping",
"redirection-and-pipes",
Expand Down
12 changes: 12 additions & 0 deletions en-US/src/pwd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# pwd

```
pwd
```

This will tell you which directory you're currently in. In fact, `pwd` is short for "print working directory", which is asking the computer to tell you where you are currently. After pressing enter, your computer will answer your question.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where does "Answer your question" come from? Are we using "Question/Answer" as the mental model for running commands?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, it may be better to explore the mental model before we start going into each command.

```
$ pwd
/Users/jessicard/just-enough-unix-command-line
```