Case insensitive and recursive grep grep -irn whatever * Replace string in all files find . -type f -exec sed -i 's/original_string/replacement/g' {} + Quick preview of Markdown file in command line with lynx and pandoc pandoc file.md | lynx -stdin