As others have pointed out, XFS filesystem cannot be shrunk. So your best bet is to backup /home, remove and recreate its volume in a smaller size and give the rest to your /root volume just as Koen van der Rijt outlined in his post. # df -h文件系统
一个文件1.txt,内容如下 a b c d e 目的把列变行,输出为: a b c d e 脚本如下: awk 'BEGIN{RS="";FS="\n";OFS=" "}{print }' test a b c d e 理论上应该实现我们想要的 a b c d e 问题出在这里 Understanding $0 It is important to remember that $0 is the full record, exactly as