rm command

How do I delete (remove) a directory called $HOME/foo and its content including all files and sub-directories under Unix like operating systems? What is the best way to completely delete /tmp/foo/ with all it’s content?

{ 0 comments }

I‘m running the Mediawiki software under Apache web server running on the Unix operating systems. I’m getting the following in my php error log:

PHP Fatal error: Cannot redeclare wfProfileIn() (previously declared in /var/www/html/wiki/includes/profiler/Profiler.php:14) in /var/www/html/wiki/includes/ProfilerStub.php on line 25.

How do I fix this problem under Mediawiki version 1.18.0?

{ 3 comments }

How do I empty a directory (delete all files) under Linux / Unix without deleting directory itself?

{ 8 comments }

How do I delete old yum repositories and configuration files under RHEL 5 or CentOS Linux server?

{ 0 comments }

When I run ‘yum install package‘ or ‘yum update‘ commands the yum command works normally until Running Transaction Test and hangs until the yum process is killed manually using the kill command. How do I fix this problem under CentOS Linux 5.x AMD64 running on HP server?

{ 5 comments }

I am trying to remove a directory called /opt/source/httpd with the rm command. I am greeted with the following message:

rmdir: failed to remove `/opt/source/httpd’: Directory not empty

How do I delete directory called /opt/source/httpd under Linux or Unix operating systems?

{ 0 comments }

I am new to Debian Linux and bash shell command line. How do I delete or remove a directory using bash prompt?

{ 0 comments }