Skip to content

Commit d39c061

Browse files
committed
corectio_answe_1-4
1 parent a6146d6 commit d39c061

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

02_activities/assignments/assignment.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,15 @@ unzip -q rawdata.zip
3131
mkdir data
3232
# 2. Move the ./rawdata directory to ./data/raw
3333
# I have unzip rawdata(compressed) to unzip rawdata in assignments files
34-
$ mv ./rawdata ./data/raw
34+
mv ./rawdata ./data/raw
3535

3636
# 3. List the contents of the ./data/raw directory
37-
cd data
38-
cd raw
37+
ls ./data/raw
3938
# 4. In ./data/processed, create the following directories: server_logs, user_logs, and event_logs
40-
cd ..
41-
mkdir processed
42-
cd processed
43-
mkdir server_logs user_logs event_logs
44-
39+
40+
mkdir -p data/processed/server_logs
41+
mkdir -p data/processed/user_logs
42+
mkdir -p data/processed/event_logs
4543
# 5. Copy all server log files (files with "server" in the name AND a .log extension) from ./data/raw to ./data/processed/server_logs
4644
cd ..
4745
cd raw

0 commit comments

Comments
 (0)