- Which command do we use to copy files in Linux?
cp.
- What is the difference between moving and renaming files?
Technically, there is no difference. Functionally, moving changes the directory a file is in, while renaming keeps the file in the same directory. Both are handled in Linux by the mv command.
- Why is the rm command, used to remove files under Linux, potentially dangerous?
- It can be used to recursively delete directories and anything in them
- It does not (by default) present an 'Are you sure?' prompt
- It allows you to delete files using wildcards
- What is the difference between a hard link and a symbolic (soft) link?
Hard links refer to the data on the filesystem, while symbolic links refer to the file (which, in turn, refers to the data on the filesystem).
- What are the three most important operating modes of tar?
- Archiving mode
- Extracting mode
- Printing mode
- Which option is used by tar to select the output directory?
-C
- What is the biggest difference between locate and find when searching on filename?
Locate allows partly named matches by default, while find requires specifying wildcards if that partial matches are desired.
- How many options of find can be combined?
As many as the search requires! This is exactly what makes find so incredibly powerful.