App Logo

No.1 PSC Learning App

1M+ Downloads
Which command used to display the current working directory in Linux ?

Acd

Bhome

Cpwd

Ddr

Answer:

C. pwd

Read Explanation:

  • The command used to display the current working directory in Linux is 'pwd'.

  • This is an abbreviation for "present working directory".

  • Typing this command in the terminal and pressing Enter will display the full path of the current working directory.

Some uses of the 'pwd' command

  • To know the path of the current working directory.

  • To identify the current directory in scripts.

  • To find the exact path when manipulating files.


Related Questions:

How do you define a function in JavaScript ?
ഉയർന്ന തലത്തിലുള്ള ഭാഷകളിൽ എഴുതിയ പ്രോഗ്രാമുകൾ യന്ത്രഭാഷകളിലേക്ക് മാറ്റുന്നതിന് -------- ഉപയോഗിക്കുന്നു.
In C language, the getchar function is used to :
A terminal node in a binary tree is called :
Programming errors generally fall into which of the following categories?