Subdirectories

I would like to search and find all files which contain a word called “main()” for all directories located in $HOME/project/school. How do I use the grep command to find text including all subdirs under Unix or Linux operating systems?

{ 5 comments }

How do I delete all files (only files and not subdirs) located in /var/pub/ftp/incoming and its subdirectories under Linux or UNIX operating systems?

{ 3 comments }

How do I remove a directory in Linux using the shell prompt?

{ 1 comment }

How can I find all all hidden files and directories (starting with . character) under UNIX or Linux and delete them using bash or ksh shell?

{ 3 comments }

How do I recursively grep through all sub-directories and find files containing given text / string or words?

{ 4 comments }

How do I copy files under Linux operating systems? How do I make 2nd copy of a file?

{ 15 comments }