Removing Linux Files With Confirmation Ask Command
Post Description:
Post Tags: removing, linux, files, with, confirmation, ask, command, linux, linux support, linux questions, linux server, programming, assistance, questions, answers, tech, it, unix
This Post Has Been Viewed 623 Times Since Sat Aug 26, 2006 12:35 am Posted By
unix with 0 replies
Next Post »»
Command To Remove Delete Several Files at Once
Have you ever deleted a file in linux using the shell, but was never asked or confirm to delete it. If you are deleting files and want to get a confirmation prompt, do this command:
This will remove the file junk_file.txt with a confirmation. The -i is there to tell the rm utility you want to display a confirmation before deleting the file.
Code:rm -i junk_file.txt
Comments and replies About Removing Linux Files With Confirmation Ask Command