Not able to grep xrdp version line by running below command on ubuntu 14.04
$ sudo xrdp -v | grep -i "version"
Output : Blank
$ sudo xrdp -v
logging configuration: LogFile: /var/log/xrdp.log LogLevel: 4 EnableSyslog: 1 SyslogLevel: 4 xrdp: A Remote Desktop Protocol server. Copyright (C) Jay Sorg 2004-2014 See http://www.xrdp.org for more information. Version 0.9.0
Where as when try with other program like below
$ sudo perl -V | grep "version"
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
How to get version 0.9.0 as output of command !