Questions
In our second chapter, we covered the Linux filesystem and the basic commands that will serve as the foundation for the entire book. Here are some questions for you to test your knowledge and for further practice:
- What is the command that creates a compressed archive with all the files inside the
/etcdirectory that use the.confextension?Hint: Use the
tarcommand just as shown in this chapter. - What is the command that lists the first five files inside
/etcand sorts them by dimension in descending order?Hint: Use
findcombined withsortandhead. - What command creates a hierarchical directory structure?
Hint: Use
mkdirjust as shown in this chapter. - What is the command that searches for files with three different extensions inside root?
Hint: Use the
findcommand. - Find out which commands inside Linux have the Set owner User ID (SUID) set up.
Hint: Use the
findcommand with the-permparameter. - What is the command that lists all the installed packages...