@@ -196,19 +196,14 @@ Let's look at how our file system is organized.
196196At the top is our ` dcuser ` directory, which holds all the
197197subdirectories and files.
198198
199- Inside that directory are several other directories:
200- ` dc_sample_data `
201- ` dc_workshop `
202- ` Desktop `
203- ` Downloads `
204- ` FastQC `
205- ` openrefine-2-6-beta.1 `
206- ` R `
207- and
208- ` Trimmomatic-0.32 `
199+ Inside that directory are some other directories:
209200
210- We'll be working with many of these subdirectories throughout this workshop.
201+ ~~~
202+ dc_sample_data FastQC Trimmomatic-0.32
203+ ~~~
204+ {: .output}
211205
206+ We'll be working with these subdirectories throughout this workshop.
212207
213208The command to change locations in our file system is ` cd ` followed by a
214209directory name to change our working directory.
@@ -222,7 +217,7 @@ $ cd dc_sample_data
222217~~~
223218{: .bash}
224219
225- We can see files and subdirectores are in this directory by running ` ls ` ,
220+ We can see files and subdirectories are in this directory by running ` ls ` ,
226221which stands for "listing":
227222
228223~~~
231226{: .bash}
232227
233228~~~
234- r_genomics sra_metadata untrimmed_fastq variant_calling variant_calling.tar.gz
229+ sra_metadata untrimmed_fastq
235230~~~
236231{: .output}
237232
@@ -247,13 +242,12 @@ $ ls -F
247242{: .bash}
248243
249244~~~
250- r_genomics/ sra_metadata/ untrimmed_fastq/ variant_calling/ variant_calling.tar.gz
245+ sra_metadata/ untrimmed_fastq/
251246~~~
252247{: .output}
253248
254- Anything with a "/" after it is a directory.
255- Things with a "* " after them are programs.
256- If there are no decorations, it's a file.
249+ Anything with a "/" after it is a directory. Things with a "* " after them are programs. If
250+ there are no decorations, it's a file.
257251
258252` ls ` has lots of other options. To find out what they are, we can type:
259253
@@ -279,10 +273,8 @@ to quit.
279273> > {: .bash}
280274> >
281275> > ~~~
282- > > drwxrwxr-x 4 dcuser dcuser 4096 May 21 2016 r_genomics
283- > > drwxr-x--- 2 dcuser dcuser 4096 Jul 30 2015 sra_metadata
284- > > drwxr-xr-x 2 dcuser dcuser 4096 Jul 30 2015 untrimmed_fastq
285- > > -rw-rw-r-- 1 dcuser dcuser 64281061 Jul 31 2015 variant_calling.tar.gz
276+ > > drwxr-x--- 2 dcuser dcuser 4096 Jul 30 2015 sra_metadata
277+ > > drwxr-xr-x 2 dcuser dcuser 4096 Jul 30 2015 untrimmed_fastq
286278> > ~~~
287279> > {: .output}
288280> >
@@ -340,9 +332,6 @@ $ cd untrimmed_fastq
340332~~~
341333{: .bash}
342334
343- Notice that we can move two (or more) directory levels at a time by placing a `\`
344- between directory names.
345-
346335Using tab complete can be very helpful. However, it will only autocomplete
347336a file or directory name if you've typed enough characters to provide
348337a unique identifier for the file or directory you are trying to access.
@@ -351,6 +340,7 @@ If we navigate back to our `untrimmed_fastq` directory and try to access one
351340of our sample files:
352341
353342~~~
343+ $ cd
354344$ cd dc_sample_data
355345$ cd untrimmed_fastq
356346$ ls SR<tab >
0 commit comments