Learning the Command Line: Files and Directories
2025-09-22
File structure & dependencies
\section{}, \usepackage{})color: blue;) are small, precise instructions.Terminal in RStudio
dir_name with the actual directory name):ls.cd ~, to bring you to your home directorypwd and ls as your guide, navigate your way into your LIN_301 foldermkdirrmdirtouchtouch do?mvtxt file in the folder, so let’s run this code:mvtest_bolder, let’s run this code:LIN_301 repo:
activity.txtfolder_1 > folder_2 > folder_3activity.txt inside folder_3pwd and ls as your guidecurlfolder_1rm -rcat > script.sh <<'EOF'
#!/bin/bash
echo "This is my first script."
curl -o term_comm.txt https://winjapati.github.io/301_Fall_2025/3_command_line/12_term_comm.txt#
mkdir folder_1
mv term_comm.txt folder_1
echo term_comm.txtscript.sh, what did you do?