mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 12:57:01 +00:00
Spelling fixes
Signed-off-by: Simon Egersand <s.egersand@gmail.com>
This commit is contained in:
parent
c44a68b096
commit
3f0f874b2c
@ -707,7 +707,7 @@ find . -name "*.html"|xargs rm
|
||||
rm `find . -name "*.html"`
|
||||
```
|
||||
|
||||
##### Delete fiels with whitespace in filename (e.g. "hello 2001")
|
||||
##### Delete files with whitespace in filename (e.g. "hello 2001")
|
||||
```bash
|
||||
find . -name "*.c" -print0|xargs -0 rm -rf
|
||||
```
|
||||
@ -987,7 +987,6 @@ echo ${var,,}
|
||||
helloworld
|
||||
```
|
||||
|
||||
|
||||
##### Expand and then execute variable/argument
|
||||
```bash
|
||||
cmd="bar=foo"
|
||||
@ -1875,12 +1874,12 @@ http://onceuponmine.blogspot.tw/2017/10/setting-up-msmtprc-and-use-your-gmail.ht
|
||||
telnet 192.168.2.106 53
|
||||
```
|
||||
|
||||
##### change network maximum transmission unit (mtu) (e.g. change to 9000)
|
||||
##### Change network maximum transmission unit (mtu) (e.g. change to 9000)
|
||||
```bash
|
||||
ifconfig eth0 mtu 9000
|
||||
```
|
||||
|
||||
##### get pid of a running process (e.g python)
|
||||
##### Get pid of a running process (e.g python)
|
||||
```bash
|
||||
pidof python
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user