3

Yesterday, I upgraded my MacBook Air from Yosemite to El Capitan.

I am getting strange output at end of terminal session after upgrade.

Last login: Mon Nov 8 11:12:50 on ttys000

My-MacBook-Air:~ user$ exit
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Anyone getting similar output? Is this some kind of virus? or it is OS feature?

  • Already asked and answered on Superuser: superuser.com/questions/975678/… – Mike Scott Nov 9 '15 at 6:53
  • @MikeScott Thanks for link. I guess that question belongs to apple.stackexchange.com instead of superuser.com – I-M-JM Nov 9 '15 at 6:55
3

Terminal saves a bunch of history so that when you open it again, it all looks like it did when you quit it. The messages you are seeing reflect that saving of data. You can see exactly what it is doing by taking a peek inside /etc/bashrc_Apple_Terminal:

grep "truncating history files" /etc/* 2> /dev/null /etc/bashrc_Apple_Terminal: echo -n 'truncating history files...'

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .