Difference between revisions of "Bash brace expansion"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  echo YOUR_TEXT{1,2,3}.txt
 
  echo YOUR_TEXT{1,2,3}.txt
  
  cp /etc/httpd/httpd.{,.[[BAK]]}
+
  [[cp -v]] file1.txt{,.bak}
  
 +
[[cp]] /etc/httpd/httpd.{,.[[BAK]]}
  
 +
 +
 +
== Related ==
 +
* <code>[[for]]</code>
 +
* [[CTRL+R]]
 +
* [[Bash arithmetic integer expansion]]
  
 
== See also ==
 
== See also ==
 
* {{Bash}}
 
* {{Bash}}
 
  
 
[[Category:Bash]]
 
[[Category:Bash]]

Latest revision as of 06:53, 22 January 2024

Advertising: