Jamie is working on a project and she sees that her files aren’t very well organized:
$ ls -F
analyzed/ fructose.dat raw/ sucrose.dat
The fructose.dat and sucrose.dat files contain output from her data analysis. What command(s) covered in this lesson does she need to run so that the commands below will produce the output shown?
$ ls -F
analyzed/ raw/
$ ls analyzed
fructose.dat sucrose.dat
mv *.dat analyzedJamie needs to move her files
fructose.dat
and sucrose.dat
to the analyzed
directory. The shell will expand *.dat to match all .dat files in the current directory. The mv
command then moves the list of .dat files to the ‘analyzed’ directory.