How to print name of current working directory

1. Print name function in linux

pwd – print name of current/working directory

2. Print synopsis for working

pwd [OPTION]
3. Print examples of linux

Pwd linux command prints name of current/working directory.

pwd

pwd prints name of current/working directory
Alternative to the pwd command could be dirs which prints the same output:

dirs -l

dirs prints name of current/working directory

Source taken from http://linuxconfig.org/