Show certain lines by line number: Difference between revisions
Tags: Mobile edit Mobile web edit |
m Text replacement - "Category:Text file processing" to "Category:String manipulation" |
||
| (One intermediate revision by one other user not shown) | |||
| Line 9: | Line 9: | ||
echo "line 5" >> test.txt | echo "line 5" >> test.txt | ||
echo "line 6" >> test.txt | echo "line 6" >> test.txt | ||
</pre> | |||
key-in the command {{kbd | key=cat test.txt}} to view the file content | |||
<pre> | |||
line 1 | |||
line 2 | |||
line 3 | |||
line 4 | |||
line 5 | |||
line 6 | |||
</pre> | </pre> | ||
| Line 70: | Line 80: | ||
[[Category:Linux]] | [[Category:Linux]] | ||
[[Category:Data Science]] | [[Category:Data Science]] | ||
[[Category: | [[Category:String manipulation]] | ||