add to 'Others'

Encode strings as Base64 strings
This commit is contained in:
Bonnie I-Man Ng 2019-07-02 15:03:47 +08:00 committed by GitHub
parent 931dc30a41
commit 85f342fb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2151,6 +2151,13 @@ hostnamectl set-hostname "mynode"
## Others
[[back to top](#handy-bash-one-liners)]
##### Encode strings as Base64 strings
```bash
echo test|base64
#dGVzdAo=
```
##### Get parent directory of current directory
```bash
dirname `pwd`