File: properties_drawer.md

package info (click to toggle)
ruby-org 0.9.12-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,852 kB
  • sloc: ruby: 3,044; lisp: 50; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# The mount point of the fullest disk

## query all mounted disks
```
  df \
```

## strip the header row
```
  |sed '1d' \
```

## sort by the percent full
```
  |awk '{print $5 " " $6}'|sort -n |tail -1 \
```

## extract the mount point
```
  |awk '{print $2}'
```

# Properties drawer example

These properties are metadata so they should not be visible.