Tenth Line - Practice Coding | SlaveCode
Problems
Scratchpad
Run
Submit
0
0
1
2
3
4
5
6
7
8
9
0
0
1
2
3
4
5
6
7
8
9
:
0
0
1
2
3
4
5
6
7
8
9
0
0
1
2
3
4
5
6
7
8
9
Toggle theme (Current: Custom)
Scratchpad
Run
Submit
Description
Hints
Solutions
195. Tenth Line
Easy
10 Points
Shell
Given a text file file.txt, print just the 10th line of the file.
Examples
Example 1
Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10
Example 2
Line 10
Select language...
Code
Tests
Result
Description
Hints
Solutions
195. Tenth Line
Easy
10 Points
Shell
Given a text file file.txt, print just the 10th line of the file.
Examples
Example 1
Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 Line 7 Line 8 Line 9 Line 10
Example 2
Line 10
Select language...
Code
Tests
Result