-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
If cd is executed with a relative path, then the relative path is printed.
For example cd .. prints ".." as the pwd.
ext-shell$ cd testdir1
Now in directory testdir1
ext-shell$ ls
drwxrwxr-x 14 testdir2
-rw-rw-r-- 17 testa.txt
ext-shell$ cd ..
Now in directory ..
ext-shell$ ls
drwxrwxr-x 11 testdir1
-rw-rw-r-- 12 test1.txt
-rw-rw-r-- 13 test2.txt
ext-shell$
Update the command to print the full path (without any relative . or .. etc)