When the “/usr/bin/rm: arg list too long” error occurs while deleting many files
You can delete them with the command below.
find . | xargs -n 1000 rm -f
When the “/usr/bin/rm: arg list too long” error occurs while deleting many files
You can delete them with the command below.
find . | xargs -n 1000 rm -f
Check after server installation short_open_tag = On Allows you to use “<?php” and “<?”. display_errors = On Displays the error message when an error occurs while running a PHP script. (When set to off, an HTTP 500 Internal Server Error…
A plugin created to easily find backdoors (PHP) secretly installed to hack servers. It finds files containing functions that can be exploited in PHP and notifies you by email. You can easily install and use it with WordPress and…
This uses the geolocation function to get the user’s location. If permission is denied or the browser does not support geolocation, it uses the Naver API to determine the location from the IP address. Before using this, get an API…
Here’s how to empty logs that have grown large. cat /dev/null > 로그파일명 For reference, here’s how to find files by size. find ./* -size +파일크기
How to Use Launch the program. Click the File button, enter the commands as shown below, and save the file. (If you have multiple accounts, repeat these steps.) [php] # Connect to the account to create the backup files. ssh://{아이디}:{패스워드}@{아이피}:{포트}…
SSHD Configuration vi /etc/ssh/sshd_config Port {port number} service sshd restart Firewall Configuration vi /etc/sysconfig/iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport {port} -j ACCEPT service iptables restart * After changing the SSH port, configure the firewall…