User Tools

Site Tools



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

Link to this comparison view

wiki:quoting [2017/12/05 22:53]
wiki:quoting [2020/07/17 06:39] (current)
Line 1: Line 1:
 +====== Quoting ======
 +You can prevent the shell from interpreting a metacharacter by placing a backslash (\).\\
 +In this way the metacharacter become a normal character.\\
 +<code bash>
 +cp file1 file\?
 +file1 will be copied to file?
 +You can also insert the metacharacter between quotation marks.
 +<code bash>
 +   ls /​dev/"​tt*"​
 +Compare the difference
 +<code bash>
 +   ls /dev/tt*