You may get this type of error while deleting large number of files.
# cd /tmp
# rm -f sess*
/bin/rm: Argument list too long
You can use the below commands to delete the files in such case.
# find /tmp -name “sess*” -delete
Spread the love