In one folder, I have thousand of files, and I want to delete 100 specific files. Saying specific files, I mean all of them has a keyword. So, I can find out all of them by using grep "keyword" *
but dont know how to delete all of them. Not deleting one by one.
I have Cpanel on my VPS, many of my accounts are over quote but they not have havey site on it and also not using much resources. I think beacuse of last migration some of account have files ownership in other directories of server.
Is there any command in linux which tell me all files list of specific account name. But out of his directory.
I'm having a problem with one of my users on my box. For some reason they cannot delete files or change permissions and sometimes while uploading, it says the server has reset.
I haven't had any issues myself but what could be causing this?
I have WHM 11.1.0 cPanel 11.2.1-C11635 FEDORA 4 i686 - WHM X v3.1.0
My /var partition is over 64% full. 2 directories in there show a lot of space being used.
One of these is /var/lib/mysql du -h --max-depth=1 # shows user accounts on the server with their database names. Are these just logs, or are they the actual databases? (Probably dumb newbie question)
The other big one is /var/log/munin Is there anything there I can delete?
My server is with Centos OS. I have a cache directory which has tons of scrap files. I am unable to delete it. rm -rf dirname gives an error.Is there any way to remove this directory quickly.Â
I am getting a lot of GET requests from different IPs to 4 nonexistent PHP files on my server. Is there any way to block the requests to avoid the resources use of apache that these requests are generating?
I have installed mod_security but Im not sure about how the block rule should be.
The requests are going to images/log.php, images/log2.php, images/log3.php and images/logi.php of one of the sites hosted on the server, is there any way to block there requests for a specific domain or path?
I want to setup a crontab to delete a file every 24 hours, I am not the best in crontab so was wondering if one of you could please give me the command I should use?
I've been using CPanel for a few years now and I've encountered an error that I have no clue how to fix it. Basically the files have been with me for the last two or three years and I've changed them from server to server. I'd say these files have been through about four or five servers. The funny thing is I can't delete any of these files. The files are in a folder under public_html and I can't delete the folder or any of the files or folders inside of that folder. I've tried through FTP and through CPanel.
The FTP error I get (I'm using WS_FTP Pro) is:
# transferred 4277 bytes in 0.063 seconds, 534.625 Kbps ( 66.828 Kbps), transfer succeeded. 226-Options: -a -l 226 58
The CPanel error I get (through File Manager) is:
[a fatal error or timeout occurred while processing this directive]
and under the trash can in File Manager:
Unable to change directory to /home/mydirectory/.trash! You do not seem to have access permissions! (System Error: Permission denied)
I even CHMODed all of the files to 777. I don't know how to get rid of these old files, how do I do it? I also have root to the server if that helps.
Now what I want to do is restore 11 files from the backup. What I certainly don't want to do is restore the entire domain as I don't want to loose any changes since the last backup.
As it seems impossible to extract files from the archives.
I had a Problem with my FTP-Backup space, so PLESK couldn't do the daily backups that I configured. The problem with the ftp backup is solved. The backups are running again but there are still many large temporary files in a plesk folder.
Can I just delete them, or is this a bad idea?
The folder: C:Program Files (x86)ParallelsPleskPrivateTemp
I have noticed that i never install any program on my Server and my files of Web only 5 GB and Windows take 15 GB (My Hard Disk Usage 30 GB). Now my disk space available 1.7 GB. But when i go to check in the Recycler folder. There many files are taking up huge amounts of space, some are in excess of 10 GB . So could i deleting these files? How can I automatically delete contents of Recycler folder?
I cannot seem to find a conclusive answer to this. I use subdomains to create client websites then once they are in their own domains the subdomains still remain. Can I delete only the subdomain and leave all the files or at least leave the database since it is still connected to the new domain. Example below.
subdomain.example.com uses database1
newsite.com still uses database1
Is there a way to copy the database into the new domain?
I think the wrong text is displayed for the option "Remove Domain Alias".
In Plesk 11.5.30 Update #13, in a Webspace, on the Websites & Domains tab, if I click an alias, a window appears for the alias with the option to "Remove Domain Alias". If I move the cursor over the text "Remove Domain Alias", or click on the link, I see a pop-up: Removing this website will also delete all related files, directories, and web applications from the server.
I think this is incorrect because removing an alias should not remove any files, directories, and web applications.
I recently ran into an easy with my host where there server crashed and left us in the cold for days without knowing what the problem was or when the site would be up again. Further more, the admin controls went from Plesk to something they created themselves where you actually canīt do anything with.
As a logic result of this, I want to switch hosting as fast possible.
My question is, can I easily switch from one host to another even if we already payed for hosting untill august next year? Or there any issues involved with switching host, like with domain names,...?
I'm an owner and manager of a server running about a year ago, and everything was fine till three months ago.
Many VBulletin forums hacked from one hacer.
i hired a technical to re-setup security of the server upgrading for ( OS , php , apache ) done. and other setting... after that he said every thing is ok now. 3 weeks later , hack back again from another hacker on 3 VBulletin forums put in your concideration all hacked forums are secured enough and using 3.6.8 patch level 2.
what possible reasons assist the hacker to reach config file? is this a gab from the server or VB version?
OS : Fedore 5 .. upgraded from Fedora 4 php Version : 5.2.4 Apache Version : 1.3.39 PERL version 5.8.8
Me and my friend have purchased Web Hosting and we can get in through FTP Clients like Filezilla or WinSCP but we'd like to integrate it directly into the Windows File System, so that we can search through files.
We basically want to be able to share and collaborate work together