Menampilkan working directory pada unix/linux dengan pwd
Untuk menampilkan working directory pada terminal unix/linux dapat digunakan command pwd (print working directory).
Berikut man pwd pada ubuntu (setiap shell mungkin memiliki option yang berbeda):
NAME
pwd – print name of current/working directory
SYNOPSIS
pwd [OPTION]…
DESCRIPTION
Print the full filename of the current working directory.
-L, –logical
use PWD from environment, even if it contains symlinks
-P, –physical
avoid all symlinks
–help display this help and exit
–version
output version information and exit
Leave a Reply