LPIC-1 Linux Administrator

File Management, Archives and vi

12 free questions here, all 60 in the app

Easy 20 8 of them here Medium 20 2 of them here Hard 20 2 of them here

Easy

8 of 20 questions

File management

  1. Which command copies the directory project with all its contents to /backup?
  2. Which command renames the file old.txt to new.txt?
  3. What does mkdir -p a/b/c do if none of the directories exist yet?
  4. What does rmdir do with a directory that still contains files?
  5. What does touch report.txt do if the file already exists?
  6. Which files does the wildcard *.txt match in the current directory?
  7. Which file name matches the pattern file?.log?
  8. Which command searches below /etc for all files named hosts?

Practise all 20 Easy questions in the app →

Medium

2 of 20 questions

File management

  1. What does the -p option do in cp source.txt target.txt?

The vi editor

  1. You searched in vi with /error. Which key jumps to the next match?

Practise all 20 Medium questions in the app →

Hard

2 of 20 questions

File management

  1. data is a directory. What happens with cp data /backup/ without further options?
  2. Why does mv of a 50 GB file to another directory on the same filesystem finish instantly?

Practise all 20 Hard questions in the app →

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications