mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2025-08-22 03:43:16 +02:00
add to others
Do not echo the trailing newline
This commit is contained in:
@ -2158,6 +2158,11 @@ echo test|base64
|
|||||||
#dGVzdAo=
|
#dGVzdAo=
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Do not echo the trailing newline
|
||||||
|
```bash
|
||||||
|
username=`echo -n "bashoneliner"`
|
||||||
|
```
|
||||||
|
|
||||||
##### Get parent directory of current directory
|
##### Get parent directory of current directory
|
||||||
```bash
|
```bash
|
||||||
dirname `pwd`
|
dirname `pwd`
|
||||||
|
Reference in New Issue
Block a user