Inode number change with vi editor but not ed editor

General support questions
Post Reply
belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

Inode number change with vi editor but not ed editor

Post by belgeadmin » 2017/05/23 09:14:39

Do you know why i node number change when i just delete one character from /etc/shadow file with vi editor?
Because when i do same changing with ed editor inode number is same. Its interesting.
“If at first the idea is not absurd, then there is no hope for it.”

ancientnoise
Posts: 58
Joined: 2017/02/20 01:36:15

Re: Inode number change with vi editor but not ed editor

Post by ancientnoise » 2017/05/24 23:38:18

Try this command:

grep backup /etc/vimrc

Post Reply

Return to “CentOS 7 - General Support”