Welcome to bashoneliners.com, a curated collection of practical and well-explained Bash one-liners, snippets, tips and tricks. We aim to make each published one-liner to be of high quality: useful, easy to read, follows best practices, with clear, detailed, accurate explanation. These one-liners should help you automate tasks, troubleshoot problems, whether it be in system administration, file management, networking or programming.
curl -b "session=$session" 'https://adventofcode.com/2023/day/18/input'
curl -I amazon.com
w3m https://www.archlinux.org/ | sed -n "/Latest News/,/Older News/p" | head -n -1
wget -–header='Accept-Language: en-us' http://www.timeanddate.com/calendar/index.html?year=2008&country=26 -O calendar.html