I’m trying to install VATIC Video Annotation Tool on Linux. I followed the instructions in README file twice, always failing to execute command: which gives these two error messages: Other turkic commands, e.g. turkic status –verify give the same error messages (for a given action name). I also no…
Tag: linux
How to use gtkd on linux
I am trying to compile a hello world program using the gtkd library. I am using the dmd compiler (installed into my ~/ directory) and I have already checked that the compiler works flawlessly. Just in case, here is my source code: The pragmas are commented out, because (if I understand this correctly) they do…
troubles linking boost statically to shared objet on linux
I am using Boost 1.57.0 I compiled it with the following command When I compile shared library to where I want to link boost statically I got the following error What I am doing wrong? I am on x86_64-linux-gnu. Answer We use this script to build boost statically and do build shared libs from it afterwards: Th…
Remap a keyboard with ioctl under linux
I am actually trying to write a small program to catch global keyboard inputs from specific USB keyboards under linux. I am testing with this piece of code : Ths point is that I don’t know how to change some input key by other. I tried by calling write() on currently red event by changing the event code…
Accessing errno.h in assembly language
I want to access errno present in errno.h in assembly language in order to handle errors of write function call. I found somewhere that make call to _error in assembly language for this purpose but it is throwing errors as : My assembly code : ExitNewShell.asm How to access errno in assembly language? Answer …
Difference between environment in Dockerfile RUN and interactive shell on a running container?
I’m starting with a Docker image that has OracleXE installed on it. This image has a running instance, with everything configured. I can fire up that image, and, either from an interactive shell container, or by ssh’ing into the container, I can easily execute sqlplus. To create a container with m…
How to find a free TCP port
How do I find a completely free TCP port on a server? I have tried the command line; but I am told the ones with a status of LISTENING are already being used. I also tried a tool called TCPView but again it only showed which TCP ports were being used. I know how to telnet to a port to
Is it possible to export the raw text password in Linux when the user is logging in?
I was just wondering, is it possible to export the raw text password into a file using echo “$password” >> /home/user/Desktop/file name. I know that the password is validated against the shadow file by pam_unix.so. Can the username and password exported before the raw text is being converted…
Unable to find who made changes to file
In linux, I have a file which is modified by someone and we are trying to track down – can you please tell which is the best way to find out how it modified . But the point is account name which we used to login is same for all. lets say test account. Thanks Answer only way to find
Finding difference between 2 directories in linux
Hi guys, dir1/subdir/file.txt dir2/subdir/nffile.txt when i tried with “diff -r dir1 dir2” it shows only the content difference in files but i want interns of new file addition. Any possibility that we can find the difference between these dir using the “diff” command. Answer Try out u…