bash alias command with both single and double quotes December 26, 2022 by Tarik You just need to escape it correctly. alias xxx="svn status | awk '\$1 ==\"M\"{print \$2;}'"