FAQ tagged as:

find command

Q. How do I ignore hidden .dot files while searching for files? How do I ignore or exclude certain files while running Linux / UNIX find command?

{ 1 comment }

I’ve just started to use Sun Solaris UNIX in our Labs. I’d like to know more about finding files from from the shell prompt. How do I find a file under UNIX?

{ 7 comments }

How do I find out if a file is more than one hour old in a UNIX shell and take action on all matching file such as delete or move files.

{ 2 comments }

Q. I’ve backup created using rsync command stored at /disk2/home/tom/ directory. Accidentally, I had deleted files from /home/tom directory. I’d like to restore all file names starting with alpha numeric characters from /disk2/home/tom/ to /home/tom. How do I restore selected files in a batch mode?

{ 0 comments }

Find File on Linux

by Vivek Gite · 1 comment

Q. How do I find files on Linux operating systems?

{ 1 comment }

How Do I find a file in Linux operating systems?

{ 0 comments }

Q. How do I check whether a directory is empty or not under Linux / UNIX using a shell script? I’d like to take some action if directory is empty.
A. There are many ways to find out if a directory is empty or not under UNIX / Linux bash shell. You can use find command [...]

{ 7 comments }

nixCraft FAQ PDF Collection Now Available To All