<p>How do I truncate output in BASH? </p>

<p>For example, if I "du file.name" how do I just get the numeric value and nothing more?</p>

<p>later addition:<br>
all solutions work perfectly. I chose to accept the most enlightning "cut" answer because I prefer the simplest approach in bash files others are supposed to be able to read.</p>

```
```
du | cut -f 1
```
```