Question: Open up a connection to the Linux labs (ssh or through a client like MobaXTerm). Create a workspace for this course by running the commands

  • Open up a connection to the Linux labs (ssh or through a client like MobaXTerm).

  • Create a workspace for this course by running the commands below in the

    terminal.

     mkdir 300 mkdir 300/assignment1 mkdir 300/assignment2 mkdir 300/assignment3 mkdir 300/assignment4 mkdir 300/finalProject 
  • Check and see what you just created by running the following: ls -R ~/215 meaning list recursively all files and directories in `$HOME/215`

  • You now have a workspace that you can use to keep your work for this course organized, go ahead and navigate to the ~/215 directory using the 'cd' command discussed in class.

  • Now we will create a header file that will be used on all of your assignment submissions

  • Create the file using touch header.txt

  • Populate the file with necessary contents

     echo "# Your full name here" >> header.txt 
 echo "# CSCE300.yourSectionHere" >> header.txt echo "# Assignment 1" >> header.txt echo "#############" >> header.txt echo " " >> header.txt 

echo " " >> header.txt You can check your work by using cat header.txt and verifying the output looks

similar to the following:

 # Mike Jones # CSCE300.801 # Assignment 1 ############# (empty white space) (empty white space) 

Part 2.)

Can you Unix? In this part of the assignment you will execute some basic Unix commands in order to see how they function. Run the commands you see below.

 cd assignment1 script $USER.part2.txt whoami printf "$USER " echo $USER whoami echo $HOSTNAME echo $HOME pwd echo $(date +"%m-%d-%Y") echo $(date +"%r") tree ~/215 > ~/215/assignment1/`whoami`.tree.txt exit 

Im also using Mac and just need a layout on how to do it on the terminal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!