In Linux and OS X, which CLI command can be used to display the name of the current directory?

IT Exam Items Repository › Category: IT Essentials › In Linux and OS X, which CLI command can be used to display the name of the current directory?

In Linux and OS X, which CLI command can be used to display the name of the current directory?

  • pwd
  • ps
  • chmod
  • sudo

Explanation: 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

Related exam: IT Essentials A+ 220-1102 Certification Practice Exam Answers