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

Yohan Naftali

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.