Search
Most active topics
Top posting users this month
No user |
GeoMap
How to let less display color?
Page 1 of 1
How to let less display color?
When redirect the output of "ls" or "grep" into less, the color disappeared.
You can use the option --color=always to fix this problem
For example:
You can use the option --color=always to fix this problem
For example:
- Code:
cat ./some.txt | grep --color=always something | less -R
halala- 帖子数 : 99
金币(Coin) : 4515
注册日期 : 2012-08-17
Similar topics
» Enable screen for 256 color for terminal/vim/emacs in ubuntu
» Firefox can not display some webpage properly?
» Chrome+SwichySharp+Linux cannot display facebook correctly. Solved!
» Firefox can not display some webpage properly?
» Chrome+SwichySharp+Linux cannot display facebook correctly. Solved!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum