Question: Hey there looking for help with this Linux problem, I'm stuck on how to use sed Create a file called kdump. conf : #raw /dev/vg/lv_kdump

Hey there looking for help with this Linux problem, I'm stuck on how to use sed

Hey there looking for help with this Linux problem, I'm stuck onhow to use sed Create a file called kdump. conf : \#raw

Create a file called kdump. conf : \#raw /dev/vg/lv_kdump \#ext4 /dev/vg/lv_kdump \#ext4 ABEL=/ boot \#ext4 UUID =031383565e614ab3b58e27507ac41937 \#nfs my.server. com:/export/tmp \#nfs [2001:db8::1:2:3:4]:/export/tmp \#ssh user@my.server.com \#ssh user@2001:db8::1:2:3:4 \#sshkey /root/.ssh/kdump_id_rsa path /var/crash core_collector makedumpfile -1 --message-level 7 -d 31 \#core_collector scp \#kdump_post /var/crash/scripts/kdump-post.sh \#kdump_pre /var/crash/scripts/kdump-pre.sh \#extra_bins /usr/bin/lftp \#extra_modules gfs2 \#failure_action shell \#force_rebuild 1 \#force_no_rebuild 1 \#dracut_args --omit-drivers "cfg80211 snd" --add-drivers "ext2 ext3" \#fence_kdump_args - p7410 - f auto ccccc \#fence_kdump_nodes node1 node2 Use sed with the edit in place command line option to turn on (uncomment) core_collector scp line. When using the edit in place option, also make sure you create a backup of the original file as kdump. conf. bak. See the man page for sed for how -i works (in the man page, type /backup, to search)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!