The commands I am/trying to use in terminal are:
sudo /bin/su -c “echo ‘fs.file-max=1000000’ >> /etc/sysctl.conf”
sudo /bin/su -c “echo ‘* soft nofile 1000000’ >> /etc/security/limits.conf”
sudo /bin/su -c “echo ‘* hard nofile 1000000’ >> /etc/security/limits.conf”
sudo /bin/su -c “echo ‘session required pam_limits.so’ >> /etc/pam.d/common-session”
All I’m getting is “permission denied” or no response to the various methods I’ve tried. I’m currently logged into the first and only account on the PC. Any help would be appreciate, just installed this Ubuntu OS last night.
-n
option is a new number max instead make the list. Please try again the answer below and check it withulimit -a
– abu-ahmed al-khatiri Aug 20 '19 at 20:00