adds test

This commit is contained in:
waldek 2021-05-11 07:55:49 +02:00
parent 94ef3c6097
commit 695b5d9643
1 changed files with 1 additions and 3 deletions

View File

@ -198,7 +198,7 @@
* D) `homedir`
* E) `cd ~`
4. True or false: The Alt+F2 keystroke, typed in X, brings up a text-mode display you can use to log into Linux.
5. True or false: The filename `..\\upone.txt` refers to the file `upone.txt` in the parent of the current directory.
5. True or false: The filename `..\upone.txt` refers to the file `upone.txt` in the parent of the current directory.
6. True or false: The `-r` option to `ls` creates a recursive directory listing.
7. The `____________` command displays the path to the current working directory.
8. To view all files, including hidden files and directories, in the current directory, you would type `ls` `____________`.
@ -220,7 +220,6 @@
* D) `rn newfile.txt afile.txt`
* E) `touch newfile.txt afile.txt`
2. You want to copy a directory, `MyFiles`, to a USB flash drive that uses the FAT filesystem. The contents of `MyFiles` are as follows:
```bash
$ ls -l MyFiles/
total 276
@ -228,7 +227,6 @@ total 276
-rw-r--r-- 1 rod users 42667 Nov 8 15:12 outline.pdf
-rw-r--r-- 1 sam users 105979 Nov 8 15:12 Outline.PDF
```
The USB flash drive is mounted at `/media/usb`, and so you type `cp -a MyFiles /media/`. What problem will occur when you attempt to copy these files?
* A) The command will fail because it tries to create links.
* B) The `MyFiles` directory will be copied, but none of its files will be copied.