find command

How do I find out all empty files and directories under Linux / Apple OS X / BSD / Unix like operating systems and delete them in a single pass?

{ 4 comments }

I‘m a new Unix user and trying to find the hidden directory called .movies but I do not know where it is on the file system. How do I find a hidden folder or directories under Unix like operating systems?

{ 1 comment }

I want to find and edit my xorg.conf file for tweaking and configure it for new settings. The problem is that I’m unable to find the file. According to my research, xorg.conf should in /etc/X11 or /usr/X11R6/lib/X11/ directory. I found directories but not the file in directories. How do I find the xorg.conf under Unix or Linux like operating systems?

{ 1 comment }

How do I set readonly permission for all files stored in /var/www/html directory?

{ 4 comments }

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

{ 8 comments }

A dot-file is generally any file whose name begins with a full stop. In Linux or Unix like operating system it is also called as hidden file. How do I list all dot files in my home directory?

{ 5 comments }

How do I check whether a directory is empty or not under Linux / UNIX using a TCSH / C shell script?

{ 0 comments }