OXIESEC PANEL
- Current Dir:
/
/
snap
/
core20
/
2582
/
usr
/
share
/
zsh
/
vendor-completions
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
04/29/2025 04:07:52 PM
rwxr-xr-x
📄
_bootctl
2.01 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_busctl
9.4 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_hostnamectl
2.54 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_journalctl
6.68 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_kernel-install
811 bytes
04/01/2020 05:23:42 PM
rw-r--r--
📄
_localectl
3.72 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_loginctl
6.1 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_networkctl
1.38 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_resolvectl
3.81 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_sd_hosts_or_user_at_host
120 bytes
04/01/2020 05:23:42 PM
rw-r--r--
📄
_sd_outputmodes
298 bytes
04/01/2020 05:23:42 PM
rw-r--r--
📄
_sd_unit_files
255 bytes
04/01/2020 05:23:42 PM
rw-r--r--
📄
_systemctl
18.46 KB
06/17/2024 08:29:39 PM
rw-r--r--
📄
_systemd
3.79 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_systemd-analyze
3.48 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_systemd-delta
665 bytes
04/01/2020 05:23:42 PM
rw-r--r--
📄
_systemd-inhibit
1.18 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_systemd-run
3.25 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_systemd-tmpfiles
776 bytes
04/01/2020 05:23:42 PM
rw-r--r--
📄
_timedatectl
2.03 KB
04/01/2020 05:23:42 PM
rw-r--r--
📄
_udevadm
6.24 KB
04/01/2020 05:23:42 PM
rw-r--r--
Editing: _networkctl
Close
#compdef networkctl -*- shell-script -*- # SPDX-License-Identifier: LGPL-2.1+ (( $+functions[_networkctl_commands] )) || _networkctl_commands() { local -a _networkctl_cmds _networkctl_cmds=( 'list:List existing links' 'status:Show information about the specified links' 'lldp:Show Link Layer Discovery Protocol status' 'label:Show address labels' ) if (( CURRENT == 1 )); then _describe -t commands 'networkctl command' _networkctl_cmds else local curcontext="$curcontext" local -a _links cmd="${${_networkctl_cmds[(r)$words[1]:*]%%:*}}" if [ $cmd = "status" ]; then _links=( "${(foa)$(networkctl list --no-legend | awk 'BEGIN{OFS=":"} {sub(/[[ \t]+/, ""); print $2,$0}' 2>/dev/null)}" ) if [[ -n "$_links" ]]; then _describe -t links 'links' _links else _message "no links" fi else _message "no more options" fi fi } _arguments \ {-a,--all}'[Show all links with status]' \ '--no-pager[Do not pipe output into a pager]' \ '--no-legend[Do not print the column headers]' \ {-h,--help}'[Show this help]' \ '--version[Show package version]' \ '*::networkctl commands:_networkctl_commands'