Command Log: June 4, 2019, 1:22 pm

pwd
cd
ls -F /
pwd
ls
ls -F 
ls --help
man ls
ls
ls -l
ls -l -h
ls -R
ls -t
ls -F data-shell
cd data-shell
pwd
cd data
pwd
cd ..
pwd
ls -F -a
cd data/
pwd
cd /home/demo/demo28/data-shell
pwd
cd 
pwd
cd ~
pwd
cd -
cd data-shell
pwd
cd -
cd data-shell
ls
cd north-pacific-gyre/
ls
cd 2012-07-03/
pwd
cd /home/demo/demo28/data-shell
pwd
mkdir thesis
ls -F
ls -F thesis/
cd thesis
pwd
nano draft.txt
ls
touch my_file.txt
ls 
ls -l -h
cd ..
pwd
pwd
ls -F thesis/
mv thesis/draft.txt thesis/quotes.txt
ls -F thesis/
mv thesis/quotes.txt .
ls -F thesis/
ls -F
cp quotes.txt thesis/quotations.txt
ls -F thesis/
pwd
ls -F 
rm quotes.txt 
ls -F 
pwd
rm -i thesis/quotations.txt 
rm thesis/
rm -r thesis/
ls -F 
cd molecules/
pwd
ls 
ls *.pdb
ls p*.pdb
ls ?ethan.pdb
ls ?ethane.pdb
ls ???ane.pdb
pwd
wc *.pdb
wc -l *.pdb
wc -w *.pdb
wc -c *.pdb
wc -l *.pdb > lengths.txt
ls lengths.txt 
cat lengths.txt 
less lengths.txt 
pwd
ls lengths.txt 
cat lengths.txt 
sort -n lengths.txt 
sort -n lengths.txt >  sorted-lengths.txt
ls 
head -n 1 sorted-lengths.txt 
sort -n lengths.txt | head -n 1 
sort -n lengths.txt 
sort -n lengths.txt | head -n 1 
wc -l *.pdb | sort -n 
wc -l *.pdb | sort -n | head -n 1 
sort -n 
man uniq
pwd
cd ../north-pacific-gyre/2012-07-03/
pwd
ls
rm stats-NENE017*
ls
wc -l *.txt
wc -l *.txt | sort -n | head -n 5
wc -l *.txt | sort -n | tail -n 5
ls
ls *[AB].txt
cd ../../
pwd
ls
cd creatures/
pwd
pwd
ls
for thing in list_of_things; do   operation_using $thing
for filename in basilisk.dat unicorn.dat ; do   head -n 2 $filename | tail -n 1 ; done
for x in basilisk.dat unicorn.dat ; do   head -n 2 $x | tail -n 1; done
cd ../molecules/
pwd
echo hello world
echo $PATH
cd ../creatures/
pwd
ls
for filename in *.dat ; do   echo $filename ;   head -n 100 $filename | tail -n 20 ; done
ls
for filename in *.dat ; do   cp $filename orignal-$filename ; done
ls
cd ../north-pacific-gyre/2012-07-03/
pwd
ls
for datafile in NENE*[AB].txt; do   echo $datafile; done
for datafile in NENE*[AB].txt; do   echo $datafile; done
ls
for datafile in NENE*[AB].txt; do   echo $datafile stats-$datafile; done
for datafile in NENE*[AB].txt; do    bash goostats $datafile stats-$datafile; done
for datafile in NENE*[AB].txt; do echo $datafile;   bash goostats $datafile stats-$datafile; done
history 
pwd
for datafile in NENE*[AB].txt; do echo $datafile;   echo bash goostats $datafile stats-$datafile; done
cd ../../molecules/
pwd
head -n 15 octane.pdb | tail -n 5
nano middle.sh
cat middle.sh 
bash middle.sh
ls
nano middle.sh 
bash middle.sh 
nano middle.sh
cat middle.sh 
bash middle.sh pentane.pdb 
bash middle.sh octane.pdb 
nano middle.sh 
cat middle.sh 
bash middle.sh octane.pdb 15 5
bash middle.sh octane.pdb 12 7
nano middle.sh