74 lines
1.4 KiB
Markdown
74 lines
1.4 KiB
Markdown
---
|
|
created: 2024-11-06T19:17:25.505Z
|
|
type: note
|
|
updated: 2024-11-06T19:41:12.092Z
|
|
---
|
|
|
|
# desktop-template
|
|
|
|
#
|
|
|
|
```bash
|
|
lsblk -I 8 -o NAME,SIZE,TYPE
|
|
```
|
|
|
|
| NAME | SIZE | TYPE |
|
|
|-------------------------|--------|------|
|
|
|
|
```bash
|
|
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINT
|
|
```
|
|
|
|
| Name | SIZE | TYPE | FSTYPE | MOUNTPOINT |
|
|
|-----------------------|--------|------|-------------|--------------------------------|
|
|
|
|
```bash
|
|
list disk
|
|
```
|
|
|
|
| Disk ### | Status | Size | Free | Dyn | Gpt |
|
|
|----------|--------|---------|---------|-----|-----|
|
|
|
|
```bash
|
|
detail disk
|
|
```
|
|
|
|
```yaml
|
|
```
|
|
|
|
```bash
|
|
list volume
|
|
```
|
|
|
|
| Volume ### | Ltr | Label | Fs | Type | Size | Status | Info |
|
|
|------------|-----|-------------|-------|-----------|---------|---------|--------|
|
|
|
|
```js Sat Jun 15 2024 13:13:30 GMT-0700 (Mountain Standard Time)
|
|
// https://jsoneditoronline.org/#left=local.moloto&right=local.rihama
|
|
function query (data) {
|
|
return _.chain(data)
|
|
.orderBy(['identifier.id'], ['asc'])
|
|
.map(item => ({
|
|
"id": item?.identifier?.id,
|
|
"version": item?.version,
|
|
"publisherDisplayName": item?.metadata?.publisherDisplayName,
|
|
"installedTimestamp": item?.metadata?.installedTimestamp,
|
|
"isPreReleaseVersion": item?.metadata?.isPreReleaseVersion,
|
|
}))
|
|
.value()
|
|
}
|
|
```
|
|
|
|
|
|
```json vscode
|
|
[]
|
|
```
|
|
|
|
```json code-insiders
|
|
[]
|
|
```
|
|
|
|
```json codium
|
|
[]
|
|
```
|