Basic file management
Lesson 3 of 8 in objective 103. GNU and Unix commands, part of LPIC-1 Exam 101-500.
- Objective
- 103. GNU and Unix commands
- Share of the exam
- 43.33% (the whole objective)
- Questions in this lesson
- 6
- Signed for by a person
- 0
Partly checked. None of the 6 questions here has been read against the cited source by a person. 6 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
Questions in this lesson
- Which command finds files under /data whose names end in .txt, .TXT or .Txt in a single search? machine-checked
- The directory /srv/old still contains files and subdirectories. Which command removes it together with everything inside it? machine-checked
- You have been handed backup.tar and want to see what it contains before unpacking anything. Which command lists the archive's contents without extracting it? machine-checked
- A downloaded file is called `data` with no extension. Which command inspects its content and reports what kind of file it is? machine-checked
- A directory contains the single file log2024.txt. Select the THREE shell glob patterns that match that file name. machine-checked
- Neither project nor project/src exists yet. Type the complete command that creates the directory project/src/main in a single invocation, creating the missing parent directories as needed. machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
Practise Basic file management