1 2 3 |
[root@xv1a28 ~]# libreoffice --convert-to pdf test-file.docx --headless convert /root/test-file.docx -> /root/test-file.pdf using writer_pdf_Export [root@xv1a28 ~]# |
The needed packages are:
yum install \
java-1.8.0-openjdk \
libreoffice-headless \
libreoffice-writer \
http://ftp.tu-chemnitz.de/pub/linux/dag/redhat/el6/en/x86_64/rpmforge/RPMS/unoconv-0.5-1.el6.rf.noarch.rpm
SEP 11 definitions:
1 |
FOR /F "tokens=6 delims=\" %i IN ('reg query HKLM\SOFTWARE\Symantec\SharedDefs /f DEFWATCH_10') DO @echo %i |
Informations provided by Security Center:
1 |
Get-WmiObject -Class AntivirusProduct -Namespace root\SecurityCenter2 |
How to read productState: http://neophob.com/2010/03/wmi-query-windows-securitycenter2/
The default Linux prompt gives you additional helpful information while working through a session instead of Windows.
The example below displays a user who is logged in along with the hostname in a windows command line.
1 2 3 |
C:\Windows\system32>set prompt=[%username%@%computername% $P]# [strachotao@PC101 C:\Windows\system32]# |