A
A
arseniylebedev2019-01-06 17:08:17
CentOS
arseniylebedev, 2019-01-06 17:08:17

How to delete a folder without y confirmation?

rm -R folder
You need to type Y repeatedly to delete all files. Which command can delete a folder with contents without confirmation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pcdesign, 2019-01-06
@arseniylebedev

rm -fR папка

R
Ruslan Fedoseev, 2019-01-06
@martin74ua

man rm
in many system commands -f = force, i.e. do unconditionally

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question