mail: send email with attachment from commandline

I know how to send an email from command line (script) echo "body" | mail -s "subject" <a href="https://getridbug.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="80edf9c0e5ede1e9ecaee3efed">[email protected]</a> Is it possible to send attachments from commandline (script) as well? I am using heirloom-mailx on Debian Wheezy. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers … Read more

How to efficiently use 3D via a remote connection?

I have one weak PC (client) but with acceptable 3D performance, and one strong PC (server) which should be capable of running an application using OpenGL twice, i.e. once locally and once remotely for the client. Currently, I ssh -X into it, but the client’s console output states software rendering is used and I only get 3 frames per second (fps). Actually, ssh’s encryption is not necessary since this is on a LAN, but it’s what I already know for remote applications…

Difference between ulimit, lsof, cat /proc/sys/fs/file-max

I’ve been getting java.io.IOException: Too many open files while running a Kafka instance and using one topic with 1000 partitions so I started investigating the file descriptors limits in my ec2 vm. I cannot understand which is exactly the limit for open files on a Centos 7 machine since all the following commands produce different results. The commands are: