Monday, May 6, 2024
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1730  / 1 Year ago, fri, february 24, 2023, 4:01:19

What is the command to remove unknown file from terminal.



Edit after following answer: Example: I have two files يا مهدي- Times-يا محمد Events.html مهدي Events.html how do i only first file?


More From » command-line

 Answers
0

In this case is really simple. Just use the following command:



rm -i *Times*Events.html


There is no problem if you have more files like '*Times*Events.html' in the same directory; Because of the switch -i (for interactive) you are asked every time if you really want to remove it.



Another way is to switch between Arabic and English languages when you are writing in terminal.


[#30043] Friday, February 24, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
horicgly

Total Points: 36
Total Questions: 126
Total Answers: 104

Location: Iceland
Member since Thu, Dec 1, 2022
1 Year ago
;