help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is the difference between $PWD and pwd?


From: Peng Yu
Subject: What is the difference between $PWD and pwd?
Date: Mon, 27 Apr 2020 15:39:58 -0500

Hi,

Suppose that PWD is not manually set, I think $PWD and pwd should give
the same results. If this is true, I don't understand why there are
both $PWD and pwd. Does anybody know why both are defined?

Or they do not always give the same result? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]