≡ Menu

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?
[click to continue…]

Linux / UNIX: Deleting Files In Many Subdirectories

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?
[click to continue…]

Removing a Directory In Linux

How do I remove a directory in Linux using the shell prompt?
[click to continue…]

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?
[click to continue…]

Bash Grep Subdirectories (Recursively)

How do I recursively grep through all sub-directories and find files containing given text / string or words?
[click to continue…]