Fedora-26-Linode-cli-命令行-管理服务

dnf install linode-cli -y

mkdir $HOME/.linodecli/
vim $HOME/.linodecli/config
#api
api-key *********

chmod 700 $HOME/.linodecli/config

[root@******** ~]# linode list
+ -------------------------------- + -------------- + ---------- + -------- + ---------- + ---------- +
| label                            | status         | location   | backups  | disk       | ram        |
| -------------------------------- + -------------- + ---------- + -------- + ---------- + ---------- |
| *************                    | running        | london     | no       | 20.00GB    | 1.00GB     |
| *************                    | powered off    | tokyo      | no       | 24.00GB    | 1.00GB     |
+ -------------------------------- + -------------- + ---------- + -------- + ---------- + ---------- +