mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Reword pwd comments (#2402)
Getting is redundant. Observe, not observer.
This commit is contained in:
parent
c947822981
commit
81975893a7
@ -96,10 +96,10 @@ echo "Script's arguments separated into different variables: $1 $2..."
|
||||
# Now that we know how to echo and use variables,
|
||||
# let's learn some of the other basics of bash!
|
||||
|
||||
# Getting our current directory is available through the command `pwd`.
|
||||
# Our current directory is available through the command `pwd`.
|
||||
# `pwd` stands for "print working directory".
|
||||
# We can also use the builtin variable `$PWD`.
|
||||
# Observer that the following are equivalent:
|
||||
# Observe that the following are equivalent:
|
||||
echo "I'm in $(pwd)" # execs `pwd` and interpolates output
|
||||
echo "I'm in $PWD" # interpolates the variable
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user