I'd like to know if there is a way that I could cat file like php.ini and remove all lines starting with ;For example, if the file contained this:;   - Show all errors, except for notices;;error_reporting = E_ALL & ~E_NOTICE;;   - Show only errors;;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR;;   - Show all errors except for notices;error_reporting  =  E_ALL & ~E_NOTICEand I ran the correct command cat | {remove comments command}, then I would end up with:error_reporting  =  E_ALL & ~E_NOTICENote - I assumed that cat would be the best way to do this but I'm actually fine with the answer using another utility like awk, sed, egrep, etc.
How can I cat a file and remove commented lines?
linux;command line;grep;cat;replace
You can use:sed -e '/^;/d' php.ini