bash cp -R "~/photo dir" /backups #method1 cp -R ~"/photo dir" /backups #method2 cp -R ~/"photo dir" /backups #method3
1.
None of the three methods will expand to the user's home directory. Only using `"$HOME/photo dir"`will be successful.
2.
Only method 1 will expand `"~/"` to the user's home directory and then append the quoted directory name that includes a space.
3.
Only method 2 will expand `"~/"` to the user's home directory and then append the quoted directory name that includes a space.
4.
Only method 3 will expand `"~/"` to the user's home directory and then append the quoted directory name that includes a space.
Q 1 / 71
Press C to Clear
Press R to Reset
Press N or Enter to Next or Check answer
Press 1,2,3, ... to toggle answers