To remove a non-empty directory in Linux, you can use the “rm” command with the “-r” option for recursive deletion:
rm -r <directory_name>
For example:
rm -r /path/to/non_empty_directory
This will remove all files and subdirectories within the target directory. Be careful when using the “-r” option, as it can permanently delete large amounts of data.