Extract lines from a file with sed
Easy way to extract line ranges (from line 200 to line 210) with sed.
sed -n '200,210p' data/Homo_sapiens.GRCh38.dna.chromosome.18.fa
# then pipe it to a new file with
sed -n '200,210p' data/Homo_sapiens.GRCh38.dna.chromosome.18.fa > new.fa
head
or tail
could be used to extract from begining of the end of the file.
Other notes
- 60's IBM Computers Commercial
- Making cgit look nicer
- Fix screen tearing on Debian 12 Xorg and i3
- Easy measure time took in a bash script
- Uninstall Ollama from a Linux box
- Cronjobs on Github with Github Actions
- Extending dte editor
- plan9 My brand new Plan9/9front desktop
- c Extend Lua with custom C functions using Clang
- Online radio streaming with MPV from terminal
- Using ffmpeg to combine videos side by side
- Write ISO to USB Key
- Grep to Less that maintain colors
- Display xterm color palette
- Alacritty open links with modifier