Which utility displays the current directory in Linux?
Note
The utility that displays the current directory in Linux is: pwd
Here's what each option does:
- ls: Lists directory contents.
- cd: Changes the current directory.
- pwd: Prints the current working directory.
- dir: Lists directory contents (similar to ls, depending on the system).