6 lines
123 B
Bash
Executable File
6 lines
123 B
Bash
Executable File
#!/bin/bash
|
|
|
|
powerprofilesctl list |
|
|
awk '/^\s*[* ]\s*[a-zA-Z0-9\-]+:$/ { gsub(/^[*[:space:]]+|:$/,""); print }' |
|
|
tac
|