Checkout this file by using cat/more/head/tail
Given a text file, then finish some shell
shell programming
E.g., filename: part.text
Brasstown Bald ,(summit),4784,feet,Union County
Rabun Bald, (summit),4696,feet,Rabun County
Dick's Knob, (summit),4620,feet,Rabun County
Hightower Bald, (summit),4568,feet,Towns County
Wolfpen Ridge, (ridge high point),4561,feet,Towns and Union Counties
Blood Mountain, (summit),4458,feet,Union County
Grassy Ridge, (ridge high point),4420,feet,Rabun County
Slaughter Mountain, (summit),4338,feet,Union County
Double Spring Knob, (summit),4280,feet,Rabun County
Coosa Bald, (summit),4280,feet,Union County
a) Checkout this file by using cat/more/head/tail
here we write command and execute it.
cat command: it is displays the content of one or more text files on the screen without pausing.
in linux we write code:
$ cat part.text
after enter we get data.
==================================================================
more command: it is displays the content of a text file one screen at a time.
in linux we write code:
$ more part.text
after enter we get data.
Step by step
Solved in 2 steps