mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-23 21:27:00 +00:00
Compare commits
4 Commits
3e6bbf7c20
...
6576e5a685
Author | SHA1 | Date | |
---|---|---|---|
|
6576e5a685 | ||
|
a85131614c | ||
|
520f053c08 | ||
|
ebfb8f1be1 |
@ -120,6 +120,7 @@ $? :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.
|
||||
@ -305,8 +306,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