Question

    Which command is used to list files in a directory in UNIX?

    A cd Correct Answer Incorrect Answer
    B ls Correct Answer Incorrect Answer
    C rm Correct Answer Incorrect Answer
    D mkdir Correct Answer Incorrect Answer

    Solution

    The "ls" command is used to list files in a directory.

    Practice Next
    ×
    ×