Thursday, May 9, 2024
33
rated 0 times [  33] [ 0]  / answers: 1 / hits: 85496  / 2 Years ago, mon, february 7, 2022, 1:58:19

How can I copy all files which starts with "b" or "B" from /bin to a specific folder?



I tried cp /bin* b , but I didn't succeed.


More From » command-line

 Answers
1

Use:



cp /bin/[bB]* ~/tolocation

[#29761] Monday, February 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ronicod

Total Points: 71
Total Questions: 111
Total Answers: 111

Location: Montenegro
Member since Fri, Dec 10, 2021
2 Years ago
;