In Linux, you have a file called, test.txt, how do you output the first 20 lines of this file?
Answer
head -n 20 test.txt
Question
In Linux, you have a file called, test.txt, how do you output the first 20 lines of this file?
Answer
?
Question
In Linux, you have a file called, test.txt, how do you output the first 20 lines of this file?
Answer
head -n 20 test.txt
If you want to change selection, open document below and click on "Move attachment"
4. Basic Commands ory that exists on disk. It is obviously slow to access but provides the illusion of much more available RAM and avoids the possibility of ever running out of memory (which can be quite fatal). <span>head [-n <lines>] <filename> Prints the first <lines> lines of a file or 10 lines if the -n option is not given. (See also tail below). hostname [<new-name>] With no
Summary
status
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.