Complete the code to list files in long format.
ls [1]The -l option shows files in long listing format.
Complete the command to show all files including hidden ones.
ls [1]The -a option lists all files, including hidden files starting with a dot.
Fix the error in the command to copy file1 to file2.
cp [1] file2The command copies file1 to file2. The source file must be specified without options.
Fill both blanks to find all .txt files in the current directory.
find . [1] [2] '*.txt'
-type d finds directories, not files.-iname matches case-insensitive but is not required here.-type f limits results to files, and -name '*.txt' matches files ending with .txt.
Fill all three blanks to move all .log files to the logs directory.
mv [1] [2] [3]
The -v option shows what is moved, *.log selects all log files, and logs/ is the destination directory.
