wildcard characters are typically used for the user's command-line Bash environment, while Linux regular expressions are used in Grep/sed/awk scenarios.
* --wildcard characters (0 to more )
? --wildcard character, representing any 1 characters
; --delimiter for successive different commands
# --Configuration file Comments
| --Pipe character
~ User's home directory
- Previous directory
$ Required symbol before the $ variable
/ Path separator symbol
> or 1> redirects, overwriting the source file
>> direction, append
< input redirection
<< Append input redirection
' single quotation mark, no variable substitution function, the output is WYSIWYG
" double quotes, with variable substitution function, after parsing the variable output
the middle of {} is a command block combination or a content sequence
! "Non" ( not ) in logical Operation
&& The current command executes successfully, after executing an instruction
|| the current execution of an instruction fails to execute after the execution of an instruction
.. Top level directory
. current directory
Instance
~ User's Home directory
[[Email protected] ~]# CD ~lxh #cd ~user can switch to user's home directory [[email protected] lxh]# Pwd/home/lxh
A summary of common wildcard characters under Linux