append

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello all,
                i am trying to append some thing in some file.

cat r1;
out put 172.24.0.1

sed '10s/$/172.24.0.254/' file.txt          i want replace 172.24.0.254 ip
address by r1 out put.

can we make r1 out put as sed command input??
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux