debian:~/test# { a=1; b=2; }debian:~/test# echo $a$b12debian:~/test# ( a=3 b=4 ) The values of # a and b are not changed in the current shell. debian:~/test# echo $a$b12&& “&&quoquo; After successful execution, the exit status is 0, then continue to the next command|
|
“ or & rdquo; Exit status is not 0, that is, the execution is unsuccessful, then continue to the next command;; “ non & rdquo; whether successful or not, will continue to the next command regular expression: \\ escaping [[ \\ \\ Match \\ ]]^ Match start position [[ ^a match starts with a]]$ Match end position [[ $a match a end]]* Match previous subexpression 0 or more times [[min 0 times, Up to N times]]+ Matches the previous subexpression 1 or more times [[Minimum 1 time, Up to N times]]? Matches the previous subexpression 0 times or 1 time [[Either, or not]]{n} Matches the number of previous subexpressions [[ a{3} matches aaa ]]{n,} matches at least N times [[ a{2,} matches aa or aaa]] matches aa or aa…N both a and above Matches the number of times {n,m} exactly matches the subexpression [[ a{1,2} matches a and aa]]. matches all single characters except [<;n”[[ matching behavior [.\ ] ]]a|
b matches a or bdebian:~/test# cat abcabccbadebian:~/test# grep -E ‘(a|
c)b(c|
a) & rsquo; abcabccba[abc] matches the set character set debian:~/test# cat abcabccbaABCdebian:~/test# grep -E ‘[abc]‘ abcabccba[^abc] does not match the set character Set debian:~/test# cat 123abc123debian:~/test# grep -E ‘[^123]‘ 123abc[az] [AZ] [0-9] = [[:alnum:]]
In order to ensure the normal operation of the Linux system and accurately solve various system prob
Webalizer is a commonly used web log analysis script under Linux, of course, for nginx. I am curious
badblocks is the command or utility in linux like operating system which can scan or test our hard d
I believe that many users who use Linux systems will feel that command line operations are faster th
How to optimize after the Linux server is installed?
Linux shell to create a sequence array (list, array) method
Linux under the dual network card configuration basic tutorial
Low-key literary lizard: remember SUSE Linux 20th Anniversary
Get the current system time with C under Linux
The biggest difference between Linux and Windows operating system upgrades
Linux Crontab uses the basic tutorial
Linux server attack and defense technology detailed
Have to know the windows 2003 stable hard drive small common sense
WinXP computer IE prompts "This tab has been restored" What should I do?
How to change the file in f4v format to mp3 format
Win10 how to switch desktop how to switch virtual desktops as you like
How to use the computer to write a brush word
Where is the win7 computer drawing tool open
Win7 Ultimate version of the computer prompt dll dynamic link library failure how to fix?
Detailed explanation: A desktop to understand Win10 11 new features