Sample Header Ad - 728x90

Why does grep generate "xterm-256color"

2 votes
1 answer
1339 views
I'm working with Ubuntu 16.04.4 LTS. I used Mobaxterm to login remotely. When I execute grep, something weird happened... me@mymachine:/data/myserver/log/server$ grep -rnH 23423 ./*log ... # outputs of the grep command me@mymachine:/data/myserver/log/server$ xterm-256colorxterm-256colorxterm-256colorxterm-256color I can't understand why I got the last line. It seems that someone typed automatically xterm-256colorxterm-256colorxterm-256colorxterm-256color after executing the command grep -rnH 23423 ./*log. I have to delete it or type Ctrl-c every time. It's really boring.
Asked by Yves (3401 rep)
Apr 12, 2022, 07:09 AM
Last activity: Apr 12, 2022, 02:44 PM