Topics: Life science. Biology. Biotechnology and Biomedical research. Bioinformatics and Computational Biology. Programming for Biologists. Lab protocols and methods. Paper reviews. Data science. Programming in R, C, C++, Perl, Python, Excel, basic and advanced Unix, shell scripting, awk scripting, vim editing, regular expressions. Custom script development.
To see line 50201 in a file combine head and tail commands
head -50201 filename | tail -1
Command: head -50201 filename
will list you all lines in a file starting from the beggining to the line 50201
But when combined with tail -1
it will show only the last line of this head selectionand that is line 50201