/bin/rm: Argument list too long
If you have too many files to remove, try this trick:
find . -name '*' | xargs rm -v
If you have too many files to remove, try this trick:
find . -name '*' | xargs rm -v
Update LANG Edit environtment vi /etc/environment add these lines… LANG=en_US.utf-8 LC_ALL=en_US.utf-8 Update and upgrade Core yum -y update yum -y upgrade Install NGINX yum install epel-release yum install nginx Start NGINX and Enable Service systemctl start nginx systemctl enable nginx Install PHP 8.0 Enable Remi Repo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm Check yum –disablerepo=”*” –enablerepo=”remi-safe” list php[7-9][0-9].x86_64…
Send A Test Mail via Exim Command line Sending a test mail from a server with a configured exim is easy as pie. From your user shell: tell exim that we want to send a mail to an recipient and tell us about the details of the sending procedure $ exim -v receipient@foo.bar Tell exim…
It is common practice to change hosting service providers when you are not happy with the service of your present provider. A major deterrent in doing so is the problem of moving email accounts, especially when you have plenty of them stored on the server and you cannot afford to give them away. So, when…
[root@srv01 demo]# grep -rl ‘from test old’ . | xargs sed -i ‘s/from test old/from test new/g’
As a developer, you will occasionally need to create a new administrative user in the database to gain access to the site. Typically, this is necessary when you are provided with an export of a WordPress database, but you aren’t provided with the login credentials for the admin user. Sure, you can gain access via…
Introduction When testing your Node.js application, it is useful to be able to start the application from the command-line. By default, cPanel does not add Node.js to your $PATH. The following will walk you through adding it You may receive the following output when attempting to use Node after installation, or after you install a…