How to invoke ioctl in shell script?

I wrote ioctl tool exactly for this purpose: https://github.com/jerome-pouiller/ioctl. Currently, it is not possible to pass multiple argument to ioctl call. Have you an example where it would be usefull? If you want to call ioctl(open(“/dev/console”), 30, 1);, you can run: ioctl /dev/console 30 -v 1 However, for most ioctl, you want to allocate a … Read more

“inappropriate ioctl for device”

Most likely it means that the open didn’t fail. When Perl opens a file, it checks whether or not the file is a TTY (so that it can answer the -T $fh filetest operator) by issuing the TCGETS ioctl against it. If the file is a regular file and not a tty, the ioctl fails … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)