First and Last
Easy · Pipelines & Redirection · head · tail
Problem
Print the first two lines of log.txt, then its last line.
Approaches
- head then tail
Related problems
Start free on Cariara · Coding problems · System design studio
Easy · Pipelines & Redirection · head · tail
Print the first two lines of log.txt, then its last line.
Start free on Cariara · Coding problems · System design studio
Coding practice is in SolveMe.Open