Command to Print Host and Current Working Directory

pwd will print current working directory. Is there a terminal command to print the current working host and directory so you can just dump it into /etc/fstab as a mount point?

3
Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article