directory structure

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

{ 8 comments }

I am looking for to only sync directories structures only. How do I copy directory structure tree without copying any files under Linux or UNIX operating system to remove server or local directory?

{ 6 comments }

Q. How can I Recover a bad superblock from a corrupted ext3 partition to get back my data? I’m getting following error:

/dev/sda2: Input/output error
mount: /dev/sda2: can’t read superblock

How do I fix this error?

{ 31 comments }

Q. I’m using CentOS Linux 5 server with ext3 on /disk2 (/dev/sdb1). How do I improve my file server performance. I’ve many large files in directories and how do I speed up access time?

{ 19 comments }

Q. I am using Linux on HP server and I am getting error that read as follows: Linux Kernel panic: VFS: Unable to mount root fs How do I solve this problem? A. Most modern distributions including Debian uses loadable kernel module for ext3 file system. So to read ext3/ext2 file system kernel must load […]

{ 6 comments }