Which shortcut does sed offer to replace the string Linux with Red hat Linux?
Which shortcut does sed offer to replace the string Linux with Red hat Linux? Correct Answer &
sed supports the use of repeated pattern. For this purpose, & is used. It makes the whole string appear in the target string also. For example, to replace the string Linux with Red hat Linux, use the following command: $ sed ‘s/ Linux/Red Hat &/’ emp.lst
মোঃ আরিফুল ইসলাম
Feb 20, 2025