After you typing in alias pd=“pwd” and hitting ctrl+o
Then will come up in the below "File name to write:"
In there you have to type: /home/ccuser/.bash_profile
And then you can type ctrl+x and this task will be done
I hope it help who ever is stuck to this