pwd
pwd is a Linux command in the File Operations category, rated beginner difficulty. Prints the current working directory path. The syntax is pwd. It returns full path of current directory. A practical example: pwd # Output: /home/user/projects A close relative is ls, which lists directory contents. One of the most frequently used commands. A close relative is cd, which changes the current working directory. A close relative is mkdir, which creates one or more directories. More about this category: Linux file operation commands — ls, cd, cp, mv, rm, mkdir, touch, and more. Create, delete, copy, and manage files and directories. Related File Operations commands: ls, cd, mkdir, rmdir, rm, cp, mv, touch. This page is part of the free Linux Reference documentation covering 304+ commands, each with syntax, options, practical examples, and a difficulty rating. Find pwd and the other essentials on the Linux cheat sheet, or return to the Linux Reference homepage.