Faigheann Unix / Linux eolaire oibre reatha.
Chun an t-eolaire oibre reatha a fháil bain úsáid as an ordú pwd.
Mar shampla má athraímid an t-eolaire go / baile / úsáideoir, priontálfaidh / baile / úsáideoir pwd mar an eolaire oibre reatha:
$ cd /home/user
$ pwd
/home/user
I script bhlaosc Bash is féidir leat an t-eolaire oibre reatha a fháil trí:
dir=$(PWD)
Advertising