adds test
This commit is contained in:
parent
94ef3c6097
commit
695b5d9643
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue