2017/08
-
Combine multiple PDF files to a pdf fileComputer/linux 2017. 8. 28. 21:58
In the case, one want to create one pdf file from N pdf files, gs will save us to do this quickly. For example, one has the following pdf files : 1.pdf2.pdf....10.pdf And would like to have result.pdf from these pdf files, the following command will create the result.pdf file gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=result.pdf -dBATCH file{1..10}.pdf
-
how to acceess udev rule parameterComputer/linux 2017. 8. 25. 22:36
Sometime, one needs to access all attribute on a device in order to create the udev rule for this device. $ udevadm info --query=all -n /dev/EtherCAT0 --attribute-walk Udevadm info starts with the device specified by the devpath and then walks up the chain of parent devices. It prints for every device found, all possible attributes in the udev rules key format. A rule to match, can be composed b..