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
Output :
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 perl command
$ sudo perl -V | grep "version"
Output :
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
How to get version 0.9.0 as output of command !
$ sudo xrdp -V 2>&1 | grep Version
but still blank – Rahul_Dange Mar 10 '18 at 12:16