mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-22 21:07:00 +00:00
commit
36edc1aee4
10
README.md
10
README.md
@ -2901,25 +2901,25 @@ echo 'hihihihi' | tee outputfile.txt
|
|||||||
|
|
||||||
##### Show non-printing (Ctrl) characters with cat
|
##### Show non-printing (Ctrl) characters with cat
|
||||||
```bash
|
```bash
|
||||||
cat -v filenme
|
cat -v filename
|
||||||
```
|
```
|
||||||
##### Convert tab to space
|
##### Convert tab to space
|
||||||
```bash
|
```bash
|
||||||
expand filenme
|
expand filename
|
||||||
```
|
```
|
||||||
##### Convert space to tab
|
##### Convert space to tab
|
||||||
```bash
|
```bash
|
||||||
unexpand filenme
|
unexpand filename
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Display file in octal ( you can also use od to display hexadecimal, decimal, etc)
|
##### Display file in octal ( you can also use od to display hexadecimal, decimal, etc)
|
||||||
```bash
|
```bash
|
||||||
od filenme
|
od filename
|
||||||
```
|
```
|
||||||
|
|
||||||
##### Reverse cat a file
|
##### Reverse cat a file
|
||||||
```bash
|
```bash
|
||||||
tac filenme
|
tac filename
|
||||||
```
|
```
|
||||||
##### Reverse the result from `uniq -c`
|
##### Reverse the result from `uniq -c`
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user