How can I edit a config file in Linux using the command line? For example I would like to update value for FLAGS_PLATFORM
or get the value.
Here is the file
FLAGS_PLATFORM=X86
FLAGS_BUILD_TYPE=DEBUG
You can use sed
.
For example:
sed 's/^FLAGS_PLATFORM=X86$/FLAGS_PLATFORM=whatever/' < file
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments