X7ROOT File Manager
Current Path:
/usr/share/bash-completion/completions
usr
/
share
/
bash-completion
/
completions
/
📁
..
📄
addpart
(520 B)
📄
blkdiscard
(651 B)
📄
blkid
(1.47 KB)
📄
blockdev
(761 B)
📄
bootctl
(1.79 KB)
📄
busctl
(7.54 KB)
📄
cal
(404 B)
📄
cfdisk
(736 B)
📄
chcpu
(1.18 KB)
📄
chfn
(445 B)
📄
chrt
(800 B)
📄
chsh
(506 B)
📄
col
(460 B)
📄
colcrt
(484 B)
📄
colrm
(509 B)
📄
column
(725 B)
📄
coredumpctl
(3.34 KB)
📄
ctrlaltdel
(335 B)
📄
delpart
(649 B)
📄
dmesg
(1.03 KB)
📄
dracut
(3.5 KB)
📄
eject
(1.16 KB)
📄
fallocate
(593 B)
📄
fdformat
(414 B)
📄
fdisk
(1.05 KB)
📄
findmnt
(2.77 KB)
📄
flock
(860 B)
📄
fsck
(789 B)
📄
fsck.cramfs
(508 B)
📄
fsck.minix
(403 B)
📄
fsfreeze
(524 B)
📄
fstrim
(626 B)
📄
gapplication
(1.36 KB)
📄
gdbus
(935 B)
📄
getopt
(815 B)
📄
grub
(11.41 KB)
📄
gsettings
(2.76 KB)
📄
hexdump
(659 B)
📄
hostnamectl
(2.16 KB)
📄
hwclock
(937 B)
📄
ionice
(837 B)
📄
ipcrm
(1.39 KB)
📄
ipcs
(514 B)
📄
isosize
(426 B)
📄
journalctl
(5.4 KB)
📄
kernel-install
(1.75 KB)
📄
kmod
(3.16 KB)
📄
ldattach
(1.23 KB)
📄
localectl
(3.36 KB)
📄
logger
(1.13 KB)
📄
loginctl
(4.03 KB)
📄
look
(572 B)
📄
losetup
(1.47 KB)
📄
lsblk
(1.44 KB)
📄
lscpu
(829 B)
📄
lsinitrd
(2.05 KB)
📄
lslocks
(1002 B)
📄
machinectl
(3.12 KB)
📄
mcookie
(502 B)
📄
mkfs
(692 B)
📄
mkfs.cramfs
(821 B)
📄
mkfs.minix
(716 B)
📄
mkswap
(765 B)
📄
more
(528 B)
📄
mountpoint
(570 B)
📄
namei
(500 B)
📄
nsenter
(955 B)
📄
partx
(1.07 KB)
📄
pivot_root
(387 B)
📄
prlimit
(1.16 KB)
📄
raw
(482 B)
📄
readprofile
(679 B)
📄
rename
(632 B)
📄
renice
(812 B)
📄
resizepart
(691 B)
📄
rev
(432 B)
📄
rpm
(9.77 KB)
📄
rtcwake
(841 B)
📄
runuser
(864 B)
📄
script
(667 B)
📄
scriptreplay
(592 B)
📄
semanage
(6.42 KB)
📄
setarch
(775 B)
📄
setpriv
(1.97 KB)
📄
setsebool
(1.77 KB)
📄
setsid
(433 B)
📄
setterm
(2.24 KB)
📄
sfdisk
(1.41 KB)
📄
su
(864 B)
📄
swaplabel
(635 B)
📄
swapon
(1.32 KB)
📄
systemctl
(12.29 KB)
📄
systemd-analyze
(3.9 KB)
📄
systemd-cat
(1.87 KB)
📄
systemd-cgls
(1.75 KB)
📄
systemd-cgtop
(1.32 KB)
📄
systemd-delta
(1.91 KB)
📄
systemd-detect-virt
(1.29 KB)
📄
systemd-nspawn
(5.74 KB)
📄
systemd-run
(3.51 KB)
📄
tailf
(530 B)
📄
taskset
(1.06 KB)
📄
tc
(26.41 KB)
📄
timedatectl
(2.52 KB)
📄
tuned-adm
(511 B)
📄
udevadm
(3.64 KB)
📄
ul
(655 B)
📄
unshare
(496 B)
📄
utmpdump
(466 B)
📄
uuidgen
(384 B)
📄
wdctl
(1.17 KB)
📄
whereis
(535 B)
📄
wipefs
(760 B)
📄
write
(494 B)
📄
yum
(11.23 KB)
📄
yummain.py
(11.23 KB)
📄
zramctl
(1.18 KB)
Editing: systemd-nspawn
# systemd-nspawn(1) completion -*- shell-script -*- # # This file is part of systemd. # # Copyright 2014 Thomas H.P. Andersen # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # # systemd is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with systemd; If not, see <http://www.gnu.org/licenses/>. __contains_word() { local w word=$1; shift for w in "$@"; do [[ $w = "$word" ]] && return done } __get_users() { local a b loginctl list-users --no-legend --no-pager | { while read a b; do echo " $b"; done; }; } __get_slices() { local a b systemctl list-units -t slice --no-legend --no-pager | { while read a b; do echo " $a"; done; }; } __get_machines() { local a b machinectl list --no-legend --no-pager | { while read a b; do echo " $a"; done; }; } __get_env() { local a env | { while read a; do echo " ${a%%=*}"; done; }; } __get_interfaces(){ cut -f 1 -d ' ' /proc/net/dev | tail -n +3 | tr -s '\n' | tr -d ':' | xargs } _systemd_nspawn() { local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} local i verb comps local -A OPTS=( [STANDALONE]='-h --help --version --private-network -b --boot --read-only -q --quiet --share-system --keep-unit --network-veth -j' [ARG]='-D --directory -u --user --uuid --capability --drop-capability --link-journal --bind --bind-ro -M --machine -S --slice --setenv -Z --selinux-context -L --selinux-apifs-context --register --network-interface --network-bridge --personality -i --image --tmpfs --volatile --network-macvlan' ) _init_completion || return if __contains_word "$prev" ${OPTS[ARG]}; then case $prev in --directory|-D) compopt -o nospace comps=$(compgen -S/ -A directory -- "$cur" ) ;; --user|-u) comps=$( __get_users ) ;; --uuid) comps='' ;; --capability) comps='CAP_BLOCK_SUSPEND CAP_IPC_LOCK CAP_MAC_ADMIN CAP_MAC_OVERRIDE CAP_SYS_MODULE CAP_SYS_PACCT CAP_SYS_RAWIO CAP_SYS_TIME CAP_SYSLOG CAP_WAKE_ALARM CAP_NET_ADMIN' ;; --drop-capability) comps='CAP_AUDIT_CONTROL CAP_AUDIT_WRITE CAP_CHOWN CAP_DAC_OVERRIDE CAP_DAC_READ_SEARCH CAP_FOWNER CAP_FSETID CAP_IPC_OWNER CAP_KILL CAP_LEASE CAP_LINUX_IMMUTABLE CAP_MKNOD CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW CAP_SETFCAP CAP_SETGID CAP_SETPCAP CAP_SETUID CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_CHROOT CAP_SYS_NICE CAP_SYS_PTRACE CAP_SYS_RESOURCE CAP_SYS_TTY_CONFIG' ;; --link-journal) comps='no auto guest host' ;; --bind|--bind-ro) compopt -o nospace comps=$(compgen -S/ -A directory -- "$cur" ) ;; --tmpfs) compopt -o nospace comps=$(compgen -S/ -A directory -- "$cur" ) ;; --machine|-M) comps=$( __get_machines ) ;; --slice|-S) comps=$( __get_slices ) ;; --setenv) comps=$( __get_env ) ;; --selinux-context|-Z) comps='' ;; --selinux-apifs-context|-L) comps='' ;; --register) comps='yes no' ;; --network-interface) comps=$(__get_interfaces) ;; --network-bridge) comps='' ;; --network-macvlan) comps='' ;; --personality) comps='x86 x86-64' ;; --volatile) comps='yes state no' ;; --image|-i) compopt -o nospace comps=$( compgen -A file -- "$cur" ) ;; esac COMPREPLY=( $(compgen -W '$comps' -- "$cur") ) return 0 fi COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") ) } complete -F _systemd_nspawn systemd-nspawn
Upload File
Create Folder