본문 바로가기

CentOS/Study

Section08>삭제, 복사, 이동 퀴즈 답안

반응형

Q1>

# mkdir Bootcamp

 

# mkdir -p Fallcohort/waitlist
# cd Fallcohort/
# touch Italo.txt Edgar.txt Linus.txt Sara.txt Silvo.txt
# cd ..
# cd waitlist
# touch Hana.txt Haris.txt Netta.txt
# cd ../..

 

# mkdir WinterCohort
# cd WinterCohort
# touch Santigo.txt Iris.txt Naomi.txt
# cd ..

 

Q2>

# rm ./Fallcohort/Edgar.txt

 

Q3>

# mv Fallcohort/waitlist/Hanna.txt ./Fallcohort/

 

Q4>

# rm -rf ./Fallcohort/waitlist

 

Q5>

# mv ./Fallcohort/Sara.txt ./Fallcohort/Sarah.txt

 

Q6>

# mv Fallcohort/Italo.txt ./WinterCohort/

 

Q7>

# mv WinterCohort/ WinterCohortCANCELLED

 

Q8>

# rm -rf *

반응형