Skip to content

Commit 87c26eb

Browse files
committed
this is my first attempt
1 parent 5a9cf62 commit 87c26eb

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

02_activities/assignments/assignment.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -x
3-
y/y<-1
3+
44
############################################
55
# DSI CONSULTING INC. Project setup script #
66
############################################
@@ -28,13 +28,14 @@ unzip -q rawdata.zip
2828
# Complete assignment here
2929

3030
# 1. Create a directory named data
31-
31+
mkdir data
3232
# 2. Move the ./rawdata directory to ./data/raw
33-
33+
mv rawdata data/raw
3434
# 3. List the contents of the ./data/raw directory
35-
35+
ls data/raw
3636
# 4. In ./data/processed, create the following directories: server_logs, user_logs, and event_logs
37-
37+
cd ./data/processed
38+
mkdir erver_logs user_logs event_logs
3839
# 5. Copy all server log files (files with "server" in the name AND a .log extension) from ./data/raw to ./data/processed/server_logs
3940

4041
# 6. Repeat the above step for user logs and event logs

0 commit comments

Comments
 (0)