Page 1 of 1

True/False (Circle Tor F): 1. T or F . The default location device for standard error is /dev/null. 2. T or F. By defaul

Posted: Sun May 15, 2022 8:20 am
by answerhappygod
True False Circle Tor F 1 T Or F The Default Location Device For Standard Error Is Dev Null 2 T Or F By Defaul 1
True False Circle Tor F 1 T Or F The Default Location Device For Standard Error Is Dev Null 2 T Or F By Defaul 1 (62.45 KiB) Viewed 57 times
True False Circle Tor F 1 T Or F The Default Location Device For Standard Error Is Dev Null 2 T Or F By Defaul 2
True False Circle Tor F 1 T Or F The Default Location Device For Standard Error Is Dev Null 2 T Or F By Defaul 2 (33.34 KiB) Viewed 57 times
True/False (Circle Tor F): 1. T or F . The default location device for standard error is /dev/null. 2. T or F. By default, the find command searches for files/directories recursively. 3. Tor F - The rmdir and rm commands have the same functionality for all possibilities, 4. T or F - The-exec option of the find command needs to be terminated with /; 5. Tor F - The-k option is used on the sort command to indicate which field to sort on. 6. Tor F - Standard output and standard error can both be redirected to a file. 7. Tor F - By default sort command input files are changed after the sort operation. 8. T or F-type is a valid command option for the find command. 9. T or F - Copying an entire directory structure is done with the -r option of the cp command. Multiple Choice (Circle the best answer) 1. Which of the following is a TRUE statement A - a moved file retains its date/time B. 2> is used to redirect stderr C. mm-t deletes empty directories D. All of the above E- A and B 2. The "2>&1" syntax indicates what? A - to send standard error to standard input B. to ignore standard error C. to send standard error to standard output D- to send standard output to standard error E- None of the above 3. Which is the correct syntax for the find command to find non-directory files older than 30 days: A-find. -type f -mtime -30 B-find. -type f -mtime +30 C-find. -type d -mtime +30 D-find. -type f -date +30 4. What does the size value of "+1" indicate for the size option of the find command? A - greater than one byte B - greater than one block (512 bytes) C - greater than I K in size D-greater than 1 MB in size E - None of the above - -

5. Which of the following operators. appends standard output to the destination? A. 2>> B. 2>&1 C. >> D. S E - None of the above 6. Which of the following options is used by the sort command to change the default delimiter/separator? A--C B- f C. - D-- E - None of the above Complete The Following: 1. What unix command can be used to rename directory files? 2. Clearly explain what the output of the echo $? command means 4. 3. What special device file can you redirect stderr to (or stdout to), so that it is not saved or displayed on the screen (provide full path)? Write a unix command to copy the /home/studenti/filel file into a subdirectory called /tmp/dirl. Assume full paths: 5. Write a unix command to extract (cut) the first 3 columns/fields from filel and send the output to file2. Assume the delimiter (separator) in the file1 file is a colon: