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
Integrated with GnuBoard using the WordPress member database, enabling users to log in and write posts on the board. Subdomain and cookie sharing Save the following source code as “wp-sso.php” on the server where WordPress is installed [PHP]
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…
To convert the existing DB from euc-kr to utf8, after carefully (??) backing it up, I opened it in editplus, and it says it contains characters that may be lost in the current encoding, I ignored it, changed it to…
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://{아이디}:{패스워드}@{아이피}:{포트}…
We created this tool to monitor whether malicious PHP has been installed through server hacking and to easily check for potentially dangerous code. Write the following code and upload it to your server account. [php] &lt;? /** * Name: Kilho’s…
How to Use procedure RegistryMonitor(RootKey: HKEY; Key: string; Proc: TProc; WatchSub: boolean); begin TThread.CreateAnonymousThread(procedure var Reg: TRegistry; Event: cardinal; begin Reg := TRegistry.Create; Reg.RootKey := RootKey; if Reg.OpenKeyReadOnly(Key) then begin Event := CreateEvent(nil, False, False, nil); if Event > 0…