Update 'dirsize/README.md'

This commit is contained in:
Ze'ev Schurmann 2023-10-27 11:06:39 +02:00
parent ece27d9b7e
commit 06a34f315f
1 changed files with 9 additions and 9 deletions

View File

@ -10,25 +10,25 @@ If you run it in / you will get some errors as some folders have objects that ar
Make the file executable by using...
'''
```
chmod +x dirsize.sh
'''
```
Then either as root copy it to the /usr/bin folder without the .sh extension...
'''
```
cp dirsize.sh /usr/bin/dirsize
'''
```
or using sudo
'''
```
sudo cp dirsize.sh /usr/bin/dirsize
'''
```
### Example usage
## Example usage
'''
```
root@zeevs:/var# dirsize
4.0K ./mail
32M ./spool
@ -39,5 +39,5 @@ root@zeevs:/var# dirsize
4.0K ./opt
4.0K ./local
56K ./tmp
'''
```