// Controls whether to confirm when the window closes if there are active terminal sessions.// - never: Never confirm.// - always: Always confirm if there are terminals.// - hasChildProcesses: Confirm if there are any terminals that have child processes.
"terminal.integrated.confirmOnExit": "never",
// Controls whether to confirm killing terminals when they have child processes. When set to editor, terminals in the editor area will be marked as changed when they have child processes. Note that child process detection may not work well for shells like Git Bash which don't run their processes as child processes of the shell.// - never: Never confirm.// - editor: Confirm if the terminal is in the editor.// - panel: Confirm if the terminal is in the panel.// - always: Confirm if the terminal is either in the editor or panel.
"terminal.integrated.confirmOnKill": "editor",
show ip route コマンドの実行結果を、ファイルに保存しましたが、以下のように、改行もされず、余計なものが入っている状態でした。これをもう少し欲しい状態にします。
{"changed": false, "stdout": ["Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP\n D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area \n N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2\n E1 - OSPF external type 1, E2 - OSPF external type 2\n i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2\n ia - IS-IS inter area, * - candidate default, U - per-user static route\n o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP\n a - application route\n + - replicated route, % - next hop override, p - overrides from PfR\n\nGateway of last resort is 192.168.1.1 to network 0.0.0.0\n\nS* 0.0.0.0/0 [1/0] via 192.168.1.1\n 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks\nC 10.0.0.0/24 is directly connected, GigabitEthernet0/3\nL 10.0.0.1/32 is directly connected, GigabitEthernet0/3\nC 10.255.255.1/32 is directly connected, Loopback0\nO 10.255.255.2/32 [110/2] via 10.0.0.2, 05:24:25, GigabitEthernet0/3\n 172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks\nC 172.16.1.0/24 is directly connected, GigabitEthernet0/1\nL 172.16.1.253/32 is directly connected, GigabitEthernet0/1\n 192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks\nC 192.168.1.0/24 is directly connected, GigabitEthernet0/0\nL 192.168.1.11/32 is directly connected, GigabitEthernet0/0"], "stdout_lines": [["Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP", " D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area ", " N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2", " E1 - OSPF external type 1, E2 - OSPF external type 2", " i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2", " ia - IS-IS inter area, * - candidate default, U - per-user static route", " o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP", " a - application route", " + - replicated route, % - next hop override, p - overrides from PfR", "", "Gateway of last resort is 192.168.1.1 to network 0.0.0.0", "", "S* 0.0.0.0/0 [1/0] via 192.168.1.1", " 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks", "C 10.0.0.0/24 is directly connected, GigabitEthernet0/3", "L 10.0.0.1/32 is directly connected, GigabitEthernet0/3", "C 10.255.255.1/32 is directly connected, Loopback0", "O 10.255.255.2/32 [110/2] via 10.0.0.2, 05:24:25, GigabitEthernet0/3", " 172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks", "C 172.16.1.0/24 is directly connected, GigabitEthernet0/1", "L 172.16.1.253/32 is directly connected, GigabitEthernet0/1", " 192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks", "C 192.168.1.0/24 is directly connected, GigabitEthernet0/0", "L 192.168.1.11/32 is directly connected, GigabitEthernet0/0"]], "failed": false}