LPIC-1 Linux Administrator
File Management, Archives and vi
Easy
8 of 20 questionsFile management
- Which command copies the directory project with all its contents to /backup?
- Which command renames the file old.txt to new.txt?
- What does mkdir -p a/b/c do if none of the directories exist yet?
- What does rmdir do with a directory that still contains files?
- What does touch report.txt do if the file already exists?
- Which files does the wildcard *.txt match in the current directory?
- Which file name matches the pattern file?.log?
- Which command searches below /etc for all files named hosts?