Bird
0
0

Which Linux command lists all files and directories in the current folder?

easy📝 Conceptual Q1 of 15
Linux CLI - Linux Basics and Terminal
Which Linux command lists all files and directories in the current folder?
Als
Bcd
Cpwd
Drm
Step-by-Step Solution
Solution:
  1. Step 1: Understand the command purpose

    The command to list files and directories is used to see contents of the current folder.
  2. Step 2: Identify the correct command

    The ls command lists files and directories, while cd changes directory, pwd shows current path, and rm deletes files.
  3. Final Answer:

    ls -> Option A
  4. Quick Check:

    List files = ls [OK]
Quick Trick: Use 'ls' to see files in current folder [OK]
Common Mistakes:
MISTAKES
  • Confusing 'ls' with 'cd'
  • Using 'pwd' to list files
  • Trying 'rm' to list files

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes