mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-24 05:36:59 +00:00
Compare commits
No commits in common. "6576e5a685670b35b4d40ce8ac2a73cfae8a9a1a" and "3e6bbf7c2036ab6d3bca1cc72c0648d68960ff67" have entirely different histories.
6576e5a685
...
3e6bbf7c20
@ -120,7 +120,6 @@ $? :most recent foreground pipeline exit status.
|
||||
$- :current options set for the shell.
|
||||
$$ :pid of the current shell (not subshell).
|
||||
$! :is the PID of the most recent background command.
|
||||
$_ :last argument of the previously executed command, or the path of the bash script.
|
||||
|
||||
$DESKTOP_SESSION current display manager
|
||||
$EDITOR preferred text editor.
|
||||
@ -306,8 +305,8 @@ echo "var=5;--var"| bc
|
||||
grep = grep -G # Basic Regular Expression (BRE)
|
||||
fgrep = grep -F # fixed text, ignoring meta-characters
|
||||
egrep = grep -E # Extended Regular Expression (ERE)
|
||||
pgrep = grep -P # Perl Compatible Regular Expressions (PCRE)
|
||||
rgrep = grep -r # recursive
|
||||
grep -P # Perl Compatible Regular Expressions (PCRE)
|
||||
```
|
||||
|
||||
##### Grep and count number of empty lines
|
||||
|
Loading…
Reference in New Issue
Block a user