User Tools

Site Tools


wiki:2018wildcards

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:2018wildcards [2018/07/11 11:16]
erin
wiki:2018wildcards [2018/07/26 14:53] (current)
david separate $ spaces
Line 11: Line 11:
  
 <code bash> <code bash>
-$ls+$ ls
 file1.txt file2.txt file100.txt dir1 dir2 file1.txt file2.txt file100.txt dir1 dir2
-$ls -d+$ ls -d
 dir1 dir2 dir1 dir2
-$cp *.txt dir1 +$ cp *.txt dir1 
-$cp file?.txt dir2+$ cp file?.txt dir2
 </​code>​ </​code>​
  
 m( **Common pitfall**: ''​rm''​ and ''​*''​ are a dangerous combination. Please use care in removing items with wildcards and always use ''​rm''​ interactively. ​ m( **Common pitfall**: ''​rm''​ and ''​*''​ are a dangerous combination. Please use care in removing items with wildcards and always use ''​rm''​ interactively. ​
  
-[[wiki:2018help|{{:​wiki:​slide2_arrow.png?​40|}}]] [[|Working with files I]]+[[wiki:2018moreless|{{:​wiki:​slide2_arrow.png?​40|}}]] [[wiki:​2018moreless|Working with files I]]
  
wiki/2018wildcards.1531329391.txt.gz · Last modified: 2018/07/11 11:16 by erin