In Linux and OS X, which CLI command can be used to display the name of the current directory?
- ps
- pwd
- sudo
- chmod
Explanation & Hint:
The functions of listed CLI commands of Linux and OS X systems are as follows:ps – lists the process currently running in the system pwd – displays the name of the current directory sudo – runs a command as another user chmod – modifies file permissions |