Unix shell: Creating things assessment

Sep 30, 2014 • Carl Boettiger

From: http://software-carpentry.org/v5/novice/shell/02-create.html

1) Which sequence(s) of commands would create the following directory structure in your working directory (select all that apply):

a)
<br /> mkdir a/b/c<br />

b)
<br /> mkdir a<br /> cd a<br /> mkdir b<br /> cd b<br /> mkdir c<br />

c)
<br /> mkdir a<br /> mkdir a/b<br /> mkdir b/c<br />

d)
<br /> mkdir a/<br /> cd a/<br /> mkdir b/<br /> cd b/<br /> mkdir c/<br />

e) none of the above

2) From the working directory you started in above, what does ls show? What does ls -F show? Why did you learn only the latter in this lesson?