Skip to main content

Thread: Pipe hostname to sed


hi. im trying change hostname section of file across multiple servers using sed, dont know how pipe output of hostname sed. please

quote posted xzased view post
hi. im trying change hostname section of file across multiple servers using sed, dont know how pipe output of hostname sed. please
code:
hostname | sed .......


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Pipe hostname to sed


Ubuntu

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'