CHAPTER 4: UNIX/LINUX FILE PROCESSING
TRUE/FALSE
1. UNIX/Linux store data, such as letters, product records, or vendor reports, in flat ASCII files.
2. The command rmdir can be used to delete a directory that is not empty.
3. Moving and renaming a file are essentially the same operation.
4. When you are moving files, using the -o option with the mv command can be a good idea so that you
don’t unexpectedly overwrite a destination file with the same name.
5. When you use cat to combine two files into a third file, the first line of the output contains the first line
of the first file followed by the first line of the second file.
6. When you use the paste command, by default, the pasted results appear in columns separated by
commas.
7. You can complete a project using awk that you cannot complete using a combination of paste, cut,
sort, and join.
MULTIPLE CHOICE
1. In UNIX/Linux, text files and binary files are considered to be ____ files.
2. Character special files are used by input/output devices for communicating one character at a time,
providing what is called ____ data.