본문 바로가기

CentOS/Study

Section12>파이프 퀴즈 답안

반응형

Q1>

# find . -type f | wc -l

 

Q2>

# ls PokeDex/ | tr A-Z a-z | sort -n > all-pokemon.txt

 

Q3>

# cat all-pokemon.txt | head -18 | tail -3

 

Q4>

# cat all-pokemon.txt | head -151

 

Q5>

# cat all-pokemon.txt | head -151 | tr -d 0-9

 

Q6>

# cat all-pokemon.txt | head -151 | tr -d 0-9 | sort

 

Q7>

# cat all-pokemon.txt | head -151 | tr -d 0-9 | sort > original-151.txt

반응형