ls -l /tmp. What does the -l option do?ls -l /tmp
-l option in ls stands for 'long listing format'.The -l option in the ls command shows detailed information about each file, including permissions, number of links, owner, group, size, and last modification date.
grep -i 'hello' file.txt do?grep -i 'hello' file.txt-i option makes the search case-insensitive.The grep command searches for patterns in files. The -i option ignores case, so it matches 'hello', 'Hello', 'HELLO', etc.
rm -f command requires at least one file or directory argument.The rm -f command without specifying a file or directory will cause an error because it doesn't know what to remove.
.txt from /source to /backup. Which command does this correctly?*.txt selects all text files in the source directory.Option C correctly copies all files ending with .txt from /source to /backup. Option C is invalid because the destination is malformed. Option C uses -r which is unnecessary for files. Option C misses the destination.
command [options] [arguments], what is the main purpose of options?Options change how a command behaves, like showing more details or ignoring case. Arguments specify what the command acts on.
