Update 'dirsize/README.md'
This commit is contained in:
parent
ece27d9b7e
commit
06a34f315f
|
@ -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
|
||||
'''
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue