Question1.Select 1 answer.
concatenate and print files in reverse
A.sort
B.split
C.tac
D.tail
Question2.Choice 2 answers.
output the first part of files.
output the last part of files.
A.head -n 5
B.tail -n 5
C.sort -u
D.join
Question3.Choice 1 answer.
merge lines of files
A.od -t
B.paste -d ""
C.pr -a
D.tr -d
Question4.Choice 1 answer.
simple optimal text formatter
A.expand -t 5
B.fmt -w 37
C.nl -b
D.pr -a
--test data--
7poinmn,s1di
haoi4u0ir e'
agc ct0g2Ho hnt46
9h ag u!u, n csa
2,6.ycndpgAt7e ai
9,45lrts44 6 ho,8 .
3aoai 797ntft.090pe
397eon 533.io a5936
533.rcis3.11.nrm321
c t3.11. de 9,44aer
以下の問題に回答し、またテストデータに対してコマンドを実行しなさい。
問題1.正解を1つ選びなさい。
ファイルを結合して逆順に表示する。
A.sort
B.split
C.tac
D.tail
Question2.正解を2つ選びなさい。
指定ファイルの最初の部分を表示する。
指定ファイルの最後の部分を表示する。
A.head -n 5
B.tail -n 5
C.sort -u
D.join
Question3.正解を1つ選びなさい。
ファイルを行間で連結する。
A.od -t
B.paste -d ""
C.pr -a
D.tr -d
Question4.正解を1つ選びなさい。
シンプルなテキスト整形をする。
A.expand -t 5
B.fmt -w 37
C.nl -b
D.pr -a
--test data--
7poinmn,s1di
haoi4u0ir e'
agc ct0g2Ho hnt46
9h ag u!u, n csa
2,6.ycndpgAt7e ai
9,45lrts44 6 ho,8 .
3aoai 797ntft.090pe
397eon 533.io a5936
533.rcis3.11.nrm321
c t3.11. de 9,44ae