Skip to content

Commit

Permalink
Assignment Resubmission
Browse files Browse the repository at this point in the history
  • Loading branch information
ranvikhalar committed Nov 23, 2024
1 parent 1d7aa47 commit 6e69124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 02_activities/assignments/assignment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ unzip rawdata.zip
# 1. Create a directory named data
mkdir data
# 2. Move the ./rawdata directory to ./data/raw
mv ./rawdata ./data/raw
mv ./rawdata/* ./data/raw
# 3. List the contents of the ./data/raw directory
ls ./data/raw
# 4. In ./data/processed, create the following directories: server_logs, user_logs, and event_logs
Expand All @@ -38,7 +38,7 @@ cp ./data/raw/event*.log ./data/processed/event_logs
rm -f ./data/raw/*ipaddr* ./data/processed/user_logs/*ipaddr*
# 8. Create a file named ./data/inventory.txt that lists all the files in the subfolders of ./data/processed
touch ./data/inventory.txt
find data/processed -type f > data/inventory.txt
find data/processed -type f -exec basename {} \;> data/inventory.txt

###########################################

Expand Down

0 comments on commit 6e69124

Please sign in to comment.