GRAYBYTE WORDPRESS FILE MANAGER7383

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/share/zsh/site-functions/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/share/zsh/site-functions//_hostnamectl
#compdef hostnamectl
# SPDX-License-Identifier: LGPL-2.1+

_hostnamectl_set-hostname() {
    if (( CURRENT <= 3 )); then
        _message "new hostname"
    else
        _message "no more options"
    fi
}

_hostnamectl_set-icon-name() {
    if (( CURRENT <= 3 )); then
        _message "new icon name"
    else
        _message "no more options"
    fi
}

_hostnamectl_set-chassis() {
    if (( CURRENT <= 3 )); then
        _chassis=( desktop laptop convertible server tablet handset watch embedded vm container )
        _describe chassis _chassis
    else
        _message "no more options"
    fi
}

_hostnamectl_set-deployment() {
    if (( CURRENT <= 3 )); then
        _message "new environment"
    else
        _message "no more options"
    fi
}

_hostnamectl_set-location() {
    if (( CURRENT <= 3 )); then
        _message "new location"
    else
        _message "no more options"
    fi
}

_hostnamectl_command() {
    local -a _hostnamectl_cmds
    _hostnamectl_cmds=(
        "status:Show current hostname settings"
        "set-hostname:Set system hostname"
        "set-icon-name:Set icon name for host"
        "set-chassis:Set chassis type for host"
        "set-deployment:Set deployment environment for host"
        "set-location:Set location for host"
    )
    if (( CURRENT == 1 )); then
        _describe -t commands 'hostnamectl commands' _hostnamectl_cmds || compadd "$@"
    else
        local curcontext="$curcontext"
        cmd="${${_hostnamectl_cmds[(r)$words[1]:*]%%:*}}"
        if (( $#cmd )); then
            if [[ $cmd == status ]]; then
                _message "no options"
            else
                _hostnamectl_$cmd
            fi
        else
            _message "unknown hostnamectl command: $words[1]"
        fi
    fi
}

_arguments -s \
    {-h,--help}'[Show this help]' \
    '--version[Show package version]' \
    '--transient[Only set transient hostname]' \
    '--static[Only set static hostname]' \
    '--pretty[Only set pretty hostname]' \
    '--no-ask-password[Do not prompt for password]' \
    {-H+,--host=}'[Operate on remote host]:userathost:_sd_hosts_or_user_at_host' \
    {-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
    '*::hostnamectl commands:_hostnamectl_command'

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 06 2024 00:00:22
root / root
0755
_bootctl
1.075 KB
June 22 2018 11:11:49
root / root
0644
_busctl
2.985 KB
June 22 2018 11:11:49
root / root
0644
_coredumpctl
1.545 KB
June 22 2018 11:11:49
root / root
0644
_curl
13.016 KB
January 28 2025 01:43:09
root / root
0644
_firewalld
18.614 KB
March 11 2025 09:51:09
root / root
0644
_hostnamectl
2.217 KB
June 22 2018 11:11:49
root / root
0644
_journalctl
5.835 KB
June 22 2018 11:11:49
root / root
0644
_kernel-install
0.636 KB
June 22 2018 11:11:49
root / root
0644
_libinput
7.484 KB
November 03 2020 04:42:35
root / root
0644
_localectl
3.501 KB
June 22 2018 11:11:49
root / root
0644
_loginctl
5.668 KB
June 22 2018 11:11:49
root / root
0644
_parallel
0.117 KB
December 25 2024 00:17:11
root / root
0644
_sd_hosts_or_user_at_host
0.113 KB
June 22 2018 11:11:49
root / root
0644
_sd_machines
0.347 KB
June 22 2018 11:11:49
root / root
0644
_sd_outputmodes
0.282 KB
June 22 2018 11:11:49
root / root
0644
_sd_unit_files
0.249 KB
June 22 2018 11:11:49
root / root
0644
_systemctl
15.24 KB
April 22 2025 01:58:20
root / root
0644
_systemd
3.749 KB
June 22 2018 11:11:49
root / root
0644
_systemd-analyze
2.993 KB
June 22 2018 11:11:49
root / root
0644
_systemd-delta
0.551 KB
June 22 2018 11:11:49
root / root
0644
_systemd-inhibit
1.036 KB
June 22 2018 11:11:49
root / root
0644
_systemd-resolve
2.275 KB
June 22 2018 11:11:49
root / root
0644
_systemd-run
3.063 KB
June 22 2018 11:11:49
root / root
0644
_systemd-tmpfiles
0.719 KB
June 22 2018 11:11:49
root / root
0644
_timedatectl
1.994 KB
June 22 2018 11:11:49
root / root
0644
_udevadm
5.856 KB
June 22 2018 11:11:49
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF