Skip to content

Zee's Blog

zee.balogh.sk

Menu

  • Projects
  • About

mkdir and PHP with SAFE_MODE Enabled

Problem You want to make PHP to create directories whose owner is not apache user/group, but PHP script owner/group. At the same time you need SAFE_MODE to be enabled. Analysis The problem is that apache runs under certain user-group privileges

admin 18.06.200918.06.2009 Uncategorized No Comments Read more

Examples of ‘find’ Command Usage

Examples of find usage: find /var/spool -mtime +60 Find every file under the directory /var/spool that was modified more than 60 days ago. find /tmp -name core -type f -print | xargs /bin/rm -f Find files named core in or

admin 02.06.200903.06.2009 Admin No Comments Read more

Creating large tar archives

Problem You need to tar thousands of files into a single tar archive. Analysis You can not simply do “tar cvf archive.tar ./*” because tar gives you an error that there are too many files in the argument. Solution Instead

admin 02.06.200902.06.2009 Uncategorized No Comments Read more

bash: Removing large number of files which contain specific text

Problem You have a huge number of files (50000)  in a single directory. You need to automatically delete the ones which contain a specific text, i.e. “SPAM”. Analysis You can not simply use rm combined with grep, because the argument

admin 02.06.200902.06.2009 Uncategorized No Comments Read more

Subclipse gives you “Unable to load default SVN client ” Error Message

Problem Subclipse gives you “Unable to load default SVN client ” Error Message. This happens when you want to browse SVN repository or generally work wit SVN in Eclipse. Concretely I use Eclipse 3.4.2. Analysis You probably did not install

admin 22.05.2009 Uncategorized No Comments Read more
  • « Previous
  • Next »

Search

Copyright © 2025 Zee's Blog. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.
  • Projects
  • About