Command Log: June 6, 2024, 1:32 pm

clear
clear
whoami
whoami
pwd
ls
ls -F
wget http://swcarpentry.github.io/shell-novice/data/shell-lesson-data.zip
ls
unzip -q shell-lesson-data.zip 
ls -F
cd shell-lesson-data
pwd
ls -F
ls -l
ls --help
ls --help
man ls
man ls
ls
cd 
pwd
ls
cd shell-lesson-data
cd
pwd
cd /home/demo/hccdemo/shell-lesson-data
ls -a
cd
pwd
clear
clear
ls -a
ls
cd shell-lesson-data
ls -a
cd north-pacific-gyre/
pwd
ls -F
pwd
cd ..
pwd
cd north-pacific-gyre/
cd ../north-pacific-gyre/../north-pacific-gyre/../north-pacific-gyre/
pwd
pwd
pwd
cd ../../../..
pwd
cd
cd shell-lesson-data/
ls
cd north-pacific-gyre/
ls
pwd
cd ~
pwd
pwd
pwd
pwd
pwd
pwd
cd shell-lesson-data
ls
mkdir thesis
cd thesis/
pwd
ls
touch draft.txt
ls
ls -l
nano draft.txt
nano draft.txt
nano draft.txt
cd ..
pwd
ls
ls -F
ls -F thesis/
mv thesis/draft.txt thesis/quotes.txt
ls -F thesis/
ls
mv thesis my-thesis
ls -F
mv my-thesis thesis
ls -F
ls -F thesis/
pwd
ls -F thesis/
mv thesis/quotes.txt .
ls -F
ls -F thesis/
cp quotes.txt thesis/quotations.txt
ls 
ls -F thesis/
diff quotes.txt thesis/quotations.txt 
nano quotes.txt 
nano quotes.txt 
diff quotes.txt thesis/quotations.txt 
ls
cp thesis thesis_backups
cp -r thesis thesis_backup
ls 
ls -F thesis_backup/
cd ..
ls
cd shell-lesson-data
pwd
ls
rm -i quotes.txt
ls -F
rm thesis
rm -ri thesis
ls -F
pwd
cd exercise-data/
ls
cd alkanes/
ls
cd ..
cd creatures/
ls
cd ..
pwd
mkdir backup
pwd
ls -F
cd alkanes/
ls
ls
pwd
ls -F ../
cp methane.pdb ethane.pdb ../backup/
ls -F ../backup/
cp methane.pdb ethane.pdb newfile.txt
cp methane.pdb ethane.pdb newfile.txt
pwd
ls
ls *.pdb
ls p*.pdb
ls *ethane.pdb
ls p*o*.pdb
ls ?ethane.pdb
ls *.pdf
tree
cd ..
cd ..
tree
ls
cd exercise-data/
ls
cd alkanes/
ls
pwd
ls
wc *.pdb
wc -l *.pdb
which ls
which wc
wc -l *.pdb
wc -l *.pdb > lengths.txt
cat lengths.txt 
sort lengths.txt 
sort -n lengths.txt 
sort -n lengths.txt > sorted-lengths.txt
cat sorted-lengths.txt 
head -n 1 sorted-lengths.txt 
head -n 1 sorted-lengths.txt 
wc -l *.pdb | sort -n | head -n 1
cd ~/shell-lesson-data
pwd
ls
cd north-pacific-gyre/
ls
pwd
wc -l *.txt
wc -l *.txt | sort -n | head -n 5
wc -l *.txt | sort -n | head -n 5
ls
ls *[AB].txt
ls *[AB].txt
wc -l *[AB].txt | sort -n | head -n 5