Command Log: September 12, 2024, 10:27 am
enable_logging
enable_logging
enable_logging
enable_logging
ls
clear
whoami
whoami
whoami
whoami
pwd
ls
wget https://swcarpentry.github.io/shell-novice/data/shell-lesson-data.zip; unzip shell-lesson-data.zip
ls
ls
wget https://swcarpentry.github.io/shell-novice/data/shell-lesson-data.zip
unzip shell-lesson-data.zip
unzip shell-lesson-data.zip
unzip shell-lesson-data.zip
ls
clear
ls
pwd
cd shell-lesson-data
pwd
ls
ls
ls -F
ls exercise-data/
ls -F exercise-data/
ls -F exercise-data/
ls -F exercise-data/
pwd
ls
ls exercise-data/
pwd
cd exercise-data/
ls
clear
ls
ls ls -a
ls -a
ls
ls -a
ls -l
ls -l
ls -l
ls --help
ls --help
ls --help
ls --help
ls --help
ls --help
ls --help
ls --help
cds --help
cd --help
clear
man ls
pwd
ls
ls -a
pwd
ls
cd shell-lesson-data
cd /home/demo/hccdemo/shell-lesson-data/
pwd
ls
pwd
cd exercise-data/
cd exercise-data/
cd exercise-data/
pwd
ls -a
cd ..
pwd
ls -a
cd .
pwd
ls
cd exercise-data/
ls
cd alkanes/
pwd
cd ../..
pwd
ls
cd exercise-data/alkanes/
pwd
pwd
cd
pwd
ls
cd shell-lesson-data/exercise-data/alkanes/
pwd
cd ~
pwd
clear
ls
cd shell-lesson-data/exercise-data/alkanes/
pwd
pwd
cd ..
ls
mkdir thesis
ls
cd thesis/
ls
ls
ls
touch draft.txt
ls
clear
ls
ls -a
nano draft.txt
ls
ls -a
ls -l\
ls -l
ls -l
ls -l
ls -l
clear
ls
nano draft.txt
nano draft.txt
nano draft.txt
ls
cp draft.txt ..
ls
cd ..
ls
cp numbers.txt thesis/
ls
cd thesis/
ls
ls
cp draft.txt ../draft-backup.txt
cd ..
ls
clear
ls
cp thesis/ thesis_backup
cp thesis/ thesis_backup
ls thesis/
cp -r thesis/ thesis_backup
ls
ls thesis_backup/
ls
cd thesis_backup/
ls
ls
ls
ls
rm -i draft.txt
ls
rm -i draft.txt
ls
ls
pwd
cd ..
ls
rm -i thesis_backup/
rm -r -i thesis_backup/
ls
ls
cd alkanes/
ls
pwd
ls
ls *.pdb
ls *.pdb
ls *.pdb
ls e*.pdb
ls ?e*.pdb
ls ??????.pdb
ls *.pdf
ls *.pdf
ls *.pdf
ls *.pdf
ls *.pdf
ls *.pdf
ls *.pdf
ls *.pdf
ls
ls
ls
wc *.pdb
wc cubane.pdb
wc propane.pdb
wc -l *.pdb
wc -l *.pdb
wc -l *.pdb
wc -l *.pdb
nano cubane.pdb
nano cubane.pdb
nano cubane.pdb
nano cubane.pdb
nano cubane.pdb
cat cubane.pdb
cat cubane.pdb
cat cubane.pdb
cat cubane.pdb
ls
ls
ls
cat pentane.pdb
ls
cd ..
ls
cd ..
ls
ls north-pacific-gyre/
cd ..
ls
cd shell-lesson-data
ls
cd exercise-data/
ls
ls creatures/
cat numbers.txt
ls writing/
ls animal-counts/
cd alkanes/\
cd alkanes/
ls
clear
pwd
wc *.pdb
wc -l *.pdb
wc -l *.pdb > lengths.txt
ls
cat lengths.txt
sort -n lengths.txt
sort -n lengths.txt sorted_lengths.txt
sort -n lengths.txt > sorted_lengths.txt
ls
cat sorted_lengths.txt
cat sorted_lengths.txt
cat sorted_lengths.txt
cat sorted_lengths.txt
cat sorted_lengths.txt
cat sorted_lengths.txt
cat sorted_lengths.txt
ls
cat sorted_lengths.txt
head -n 1 sorted_lengths.txt
head -n 2 sorted_lengths.txt
head -n 3 sorted_lengths.txt
head sorted_lengths.txt
tail sorted_lengths.txt
tail -n 2 sorted_lengths.txt
tail -n 2 sorted_lengths.txt
tail -n 2 sorted_lengths.txt
tail -n 2 sorted_lengths.txt
tail -n 2 sorted_lengths.txt
tail -n 2 sorted_lengths.txt
cat sorted_lengths.txt
head -n 4 sorted_lengths.txt
head -n 4 sorted_lengths.txt > middle.txt
tail -n 1 middle.txt
sort -n lengths.txt | head -n 1
sort -n lengths.txt | head -n 1
sort -n lengths.txt | head -n 1
wc -l *.pdb | sort -n | head -n 1
wc -l *.pdb | sort -n | tail -n 2
ls
ls *.pdb
ls m*.pdb
pwd
cd ..
ls
ls creatures/
ls writing/
cd animal-counts/
ls
cd ..
cd ..
ls
cd north-pacific-gyre/
ls
ls *A.txt
ls *B.txt
ls *[AB].txt
cd ..
cd ..
ls
cd shell-lesson-data/exercise-data/
ls
cd alkanes/
ls
cd ..
ls
ls creatures/
cd creatures/
pwd
ls
for filename in *.dat do ; mv $filename origional-$filename.dat
for filename in *.dat; do mv $filename orihional-filename.dat; done
ls
lls
ls
for filename in *.dat; do mv $filename origional-$filename.dat; done
ls
for filename in *.dat; do mv $filename origional-$filename.dat; done
ls
ls
ls
ls
ls
ls
ls
ls
ls
echo hello
for x in 0 1 2 3 4 5 6 7 8 9; do echo $x; done
clear
pwd
cd /common/demo/hccdemo
nano bio.txt
pwd
ls
cat bio.txt
cd $WORK
git clone https://github.com/unlhcc/job-examples.git
ls
pwd
module avail
module list
module spider starliner
module spider star
module load star/2.7
module list
module unload git
module list
git clone https://github.com/unlhcc/job-examples.git
module load git/2.39
git clone https://github.com/unlhcc/job-examples.git
module unload openmpi
module list
module avail
module list
module purge
module list
nanop
nano
git
mpicc
perl
python
module load openfoam
module spider openfoam
module load compiler/gcc/11 openmpi/4.1
module load openfoam
foam
pwd
cd -
cd -
cd -
cd -
cd -
module load swan
module list
ml list
ml purge
ml list
ml python/3.10
ml swan
ml unload nano
ml list
ml
git clone https://github.com/unlhcc/job-examples.git
ls /mnt/nrdstor/
ls /home
clear
squeue
squeue -u jeanjack
cd job-examples/
mkdir our_example
cp python/helloworld.py our_example/
cd our_example/
pwd
lsa
ls
cat helloworld.py
nano magical.submit
ml nano
nano magical.submit
sbatch magical.submit
squeue -u hccdemo
ls
cat my_job.7393378.*
ml spider python
nano magical.submit
sbatch magical.submit
squeue -u hccdemo
squeue -u hccdemo
cd ../matlab
ls
nano serial.slurm
nano serial.slurm
sbatch serial.slurm
squeue -j 7393424
seff 7393424
cp serial.slurm faster.slurm
nano faster.slurm
cat faster.slurm
sbatch faster.slurm
squeue -u hccdemo
squeue -u hccdemo
squeue -u hccdemo
seff 7393486
squeue --start
squeue --start -u hccdemo