VSCSI/NPIV : useful one-liners for lsmap command

Update : I juste realized I never did the same quick one-liner for the NPIV case, which is indeed what my servers are built on , I’m fixing it right now ! VSCSI When working with VSCSI mode, I always

Share Button

Inserting a line in a file with perl (sed -i doesn’t work on AIX)

The following line will insert « blah blah blah » at the beginning of the file.txt . If you wanna insert a line anywhere else, you just have to modify this « if $. == [line number] » part. If you just wanna modify

Share Button