How to solve -ksh: /bin/ls: cannot execute [Argument list too long] error? [duplicate]

This question already has an answer here: Argument list too long for ls 5 answers I wrote a command line expression to generate count of files and directories in source file but I get -ksh: /bin/ls: cannot execute [Argument list too long] How to solve this issue? I used following script: ls -lart /mount/dda/DDA_200/history_pan/2017-01/* |…

Details

uWSGI can’t load config in Docker

I have a weird problem, which is probably related to my Dockerfile, but I fail to see it – I’ve tried different settings, but nothing helps. Here is my uwsgi.ini file: [uwsgi] strict = true socket = 0.0.0.0:8000 protocol = http module = my_django_project.wsgi env = DJANGO_SETTINGS_MODULE=my_django_project.settings master = true enable-threads = true vacuum =…

Details

How do I set up StrongSwan/IPSec to only route a set of specific subnets?

I’m trying to set up a VPN to route traffic from clients to specific subnets (but not all traffic). I have three subnets that need to be routed through the VPN (all go to the same box, which is also running the VPN): 142.93.102.139/20 (Public) 10.135.0.0/16 (DigitalOcean private networking) 2a03:b0c0:3:e0::1ac:e001/64 (Public) This is my ipsec.conf:…

Details