Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 3.141.198.75
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
bash-completion /
completions /
[ HOME SHELL ]
Name
Size
Permission
Action
addpart
520
B
-rw-r--r--
blkdiscard
651
B
-rw-r--r--
blkid
1.47
KB
-rw-r--r--
blockdev
761
B
-rw-r--r--
bootctl
1.79
KB
-rw-r--r--
busctl
7.54
KB
-rw-r--r--
bzip2
1.13
KB
-rw-r--r--
cal
404
B
-rw-r--r--
cfdisk
736
B
-rw-r--r--
chage
599
B
-rw-r--r--
chcpu
1.18
KB
-rw-r--r--
chfn
445
B
-rw-r--r--
chgrp
995
B
-rw-r--r--
chown
1.1
KB
-rw-r--r--
chpasswd
620
B
-rw-r--r--
chrt
800
B
-rw-r--r--
chsh
506
B
-rw-r--r--
col
460
B
-rw-r--r--
colcrt
484
B
-rw-r--r--
colrm
509
B
-rw-r--r--
column
725
B
-rw-r--r--
coredumpctl
3.34
KB
-rw-r--r--
cpio
2.87
KB
-rw-r--r--
ctrlaltdel
335
B
-rw-r--r--
curl
2.92
KB
-rw-r--r--
delpart
649
B
-rw-r--r--
dmesg
1.03
KB
-rw-r--r--
dracut
3.5
KB
-rw-r--r--
eject
1.16
KB
-rw-r--r--
fallocate
593
B
-rw-r--r--
fdformat
414
B
-rw-r--r--
fdisk
1.05
KB
-rw-r--r--
find
3.88
KB
-rw-r--r--
findmnt
2.77
KB
-rw-r--r--
firewall-cmd
10.1
KB
-rw-r--r--
flock
860
B
-rw-r--r--
fsck
789
B
-rw-r--r--
fsck.cramfs
508
B
-rw-r--r--
fsck.minix
403
B
-rw-r--r--
fsfreeze
524
B
-rw-r--r--
fstrim
626
B
-rw-r--r--
gapplication
1.36
KB
-rw-r--r--
gdbus
935
B
-rw-r--r--
getopt
815
B
-rw-r--r--
groupadd
645
B
-rw-r--r--
groupdel
134
B
-rw-r--r--
groupmod
705
B
-rw-r--r--
grub
11.41
KB
-rw-r--r--
gsettings
2.76
KB
-rw-r--r--
gzip
1.17
KB
-rw-r--r--
hexdump
659
B
-rw-r--r--
hostnamectl
2.16
KB
-rw-r--r--
hwclock
937
B
-rw-r--r--
ionice
837
B
-rw-r--r--
ip
9.54
KB
-rw-r--r--
ipcrm
1.39
KB
-rw-r--r--
ipcs
514
B
-rw-r--r--
iptables
2.21
KB
-rw-r--r--
isosize
426
B
-rw-r--r--
journalctl
5.4
KB
-rw-r--r--
kernel-install
1.75
KB
-rw-r--r--
kmod
3.16
KB
-rw-r--r--
ldattach
1.23
KB
-rw-r--r--
localectl
3.36
KB
-rw-r--r--
logger
1.13
KB
-rw-r--r--
loginctl
4.03
KB
-rw-r--r--
look
572
B
-rw-r--r--
losetup
1.47
KB
-rw-r--r--
lsblk
1.44
KB
-rw-r--r--
lscpu
829
B
-rw-r--r--
lsinitrd
2.05
KB
-rw-r--r--
lslocks
1002
B
-rw-r--r--
lsmcli
18.54
KB
-rw-r--r--
lvchange
21.26
KB
-rw-r--r--
lvcreate
21.26
KB
-rw-r--r--
lvdisplay
21.26
KB
-rw-r--r--
lvextend
21.26
KB
-rw-r--r--
lvm
21.26
KB
-rw-r--r--
lvmdiskscan
21.26
KB
-rw-r--r--
lvreduce
21.26
KB
-rw-r--r--
lvremove
21.26
KB
-rw-r--r--
lvrename
21.26
KB
-rw-r--r--
lvresize
21.26
KB
-rw-r--r--
lvs
21.26
KB
-rw-r--r--
lvscan
21.26
KB
-rw-r--r--
machinectl
3.12
KB
-rw-r--r--
mcookie
502
B
-rw-r--r--
mdadm
4.41
KB
-rw-r--r--
mkfs
692
B
-rw-r--r--
mkfs.cramfs
821
B
-rw-r--r--
mkfs.minix
716
B
-rw-r--r--
mkswap
765
B
-rw-r--r--
more
528
B
-rw-r--r--
mount
1.93
KB
-rw-r--r--
mountpoint
570
B
-rw-r--r--
namei
500
B
-rw-r--r--
nsenter
955
B
-rw-r--r--
partx
1.07
KB
-rw-r--r--
passwd
514
B
-rw-r--r--
ping
1.8
KB
-rw-r--r--
pivot_root
387
B
-rw-r--r--
prlimit
1.16
KB
-rw-r--r--
pvchange
21.26
KB
-rw-r--r--
pvcreate
21.26
KB
-rw-r--r--
pvdisplay
21.26
KB
-rw-r--r--
pvmove
21.26
KB
-rw-r--r--
pvremove
21.26
KB
-rw-r--r--
pvs
21.26
KB
-rw-r--r--
pvscan
21.26
KB
-rw-r--r--
quota
3.67
KB
-rw-r--r--
quotacheck
3.67
KB
-rw-r--r--
quotaoff
3.67
KB
-rw-r--r--
quotaon
3.67
KB
-rw-r--r--
raw
482
B
-rw-r--r--
readprofile
679
B
-rw-r--r--
rename
632
B
-rw-r--r--
renice
812
B
-rw-r--r--
repquota
3.67
KB
-rw-r--r--
resizepart
691
B
-rw-r--r--
rev
432
B
-rw-r--r--
rpm
9.77
KB
-rw-r--r--
rtcwake
841
B
-rw-r--r--
runuser
864
B
-rw-r--r--
script
667
B
-rw-r--r--
scriptreplay
592
B
-rw-r--r--
semanage
6.42
KB
-rw-r--r--
setarch
775
B
-rw-r--r--
setpriv
1.97
KB
-rw-r--r--
setquota
3.67
KB
-rw-r--r--
setsebool
1.77
KB
-rw-r--r--
setsid
433
B
-rw-r--r--
setterm
2.24
KB
-rw-r--r--
sfdisk
1.41
KB
-rw-r--r--
ssh
11.49
KB
-rw-r--r--
su
864
B
-rw-r--r--
sudo
1.29
KB
-rw-r--r--
swaplabel
635
B
-rw-r--r--
swapon
1.32
KB
-rw-r--r--
systemctl
12.29
KB
-rw-r--r--
systemd-analyze
3.9
KB
-rw-r--r--
systemd-cat
1.87
KB
-rw-r--r--
systemd-cgls
1.75
KB
-rw-r--r--
systemd-cgtop
1.32
KB
-rw-r--r--
systemd-delta
1.91
KB
-rw-r--r--
systemd-detect-virt
1.29
KB
-rw-r--r--
systemd-nspawn
5.74
KB
-rw-r--r--
systemd-run
3.51
KB
-rw-r--r--
tailf
530
B
-rw-r--r--
taskset
1.06
KB
-rw-r--r--
tc
26.41
KB
-rw-r--r--
tcpdump
1.01
KB
-rw-r--r--
timedatectl
2.52
KB
-rw-r--r--
tuned-adm
511
B
-rw-r--r--
udevadm
3.64
KB
-rw-r--r--
ul
655
B
-rw-r--r--
umount
525
B
-rw-r--r--
umount.linux
4.38
KB
-rw-r--r--
unshare
496
B
-rw-r--r--
useradd
1.21
KB
-rw-r--r--
userdel
554
B
-rw-r--r--
usermod
1.3
KB
-rw-r--r--
utmpdump
466
B
-rw-r--r--
uuidgen
384
B
-rw-r--r--
vgcfgbackup
21.26
KB
-rw-r--r--
vgcfgrestore
21.26
KB
-rw-r--r--
vgchange
21.26
KB
-rw-r--r--
vgck
21.26
KB
-rw-r--r--
vgconvert
21.26
KB
-rw-r--r--
vgcreate
21.26
KB
-rw-r--r--
vgdisplay
21.26
KB
-rw-r--r--
vgexport
21.26
KB
-rw-r--r--
vgextend
21.26
KB
-rw-r--r--
vgimport
21.26
KB
-rw-r--r--
vgmerge
21.26
KB
-rw-r--r--
vgmknodes
21.26
KB
-rw-r--r--
vgreduce
21.26
KB
-rw-r--r--
vgremove
21.26
KB
-rw-r--r--
vgrename
21.26
KB
-rw-r--r--
vgs
21.26
KB
-rw-r--r--
vgscan
21.26
KB
-rw-r--r--
vgsplit
21.26
KB
-rw-r--r--
wdctl
1.17
KB
-rw-r--r--
wget
6.26
KB
-rw-r--r--
whereis
535
B
-rw-r--r--
wipefs
760
B
-rw-r--r--
write
494
B
-rw-r--r--
xz
1.46
KB
-rw-r--r--
yum
11.23
KB
-rw-r--r--
yummain.py
11.23
KB
-rw-r--r--
zramctl
1.18
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pvchange
# bash completion for lvm -*- shell-script -*- _lvm_volumegroups() { COMPREPLY=( $(compgen -W "$( vgscan 2>/dev/null | \ sed -n -e 's|.*Found.*"\(.*\)".*$|\1|p' )" -- "$cur" ) ) } _lvm_physicalvolumes() { COMPREPLY=( $(compgen -W "$( pvscan 2>/dev/null | \ sed -n -e 's|^.*PV \(.*\) VG.*$|\1|p' )" -- "$cur" ) ) } _lvm_logicalvolumes() { COMPREPLY=( $(compgen -W "$( lvscan 2>/dev/null | \ sed -n -e "s|^.*'\(.*\)'.*$|\1|p" )" -- "$cur" ) ) if [[ $cur == /dev/mapper/* ]]; then _filedir local i for i in ${!COMPREPLY[@]}; do [[ ${COMPREPLY[i]} == */control ]] && unset COMPREPLY[i] done fi } _lvm_units() { COMPREPLY=( $( compgen -W 'h s b k m g t H K M G T' -- "$cur" ) ) } _lvm_sizes() { COMPREPLY=( $( compgen -W 'k K m M g G t T' -- "$cur" ) ) } # @param $1 glob matching args known to take an argument _lvm_count_args() { args=0 local offset=1 if [[ "${words[0]}" == lvm ]]; then offset=2 fi local i prev=${words[$offset-1]} for (( i=$offset; i < cword; i++ )); do if [[ "${words[i]}" != -* && $prev != $1 ]]; then args=$(($args + 1)) fi prev=${words[i]} done } _lvmdiskscan() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) fi } && complete -F _lvmdiskscan lvmdiskscan _pvscan() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--debug --exported --novolumegroup --help --ignorelockingfailure --partial --short --uuid --verbose --version' -- "$cur" ) ) fi } && complete -F _pvscan pvscan _pvs() { local cur prev words cword _init_completion || return case $prev in -o|-O|--options|--sort) COMPREPLY=( $( compgen -W 'pv_fmt pv_uuid pv_size pv_free pv_used pv_name pv_attr pv_pe_count pv_pe_alloc_count' -- "$cur" ) ) return 0 ;; --units) _lvm_units return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_physicalvolumes fi } && complete -F _pvs pvs _pvdisplay() { local cur prev words cword _init_completion || return case $prev in --units) _lvm_units return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_physicalvolumes fi } && complete -F _pvdisplay pvdisplay _pvchange() { local cur prev words cword _init_completion || return case $prev in -A|-x|--autobackup|--allocatable) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_physicalvolumes fi } && complete -F _pvchange pvchange _pvcreate() { local cur prev words cword _init_completion || return case $prev in --restorefile) _filedir return 0 ;; -M|--metadatatype) COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) ) return 0 ;; --metadatacopies) COMPREPLY=( $( compgen -W '0 1 2' -- "$cur" ) ) return 0 ;; --metadatasize|--setphysicalvolumesize) _lvm_sizes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_physicalvolumes fi } && complete -F _pvcreate pvcreate _pvmove() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -n|--name) _lvm_logicalvolumes return 0 esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--abort --autobackup --background --debug --force --help --interval --test --verbose --version --name' \ -- "$cur" ) ) else _lvm_physicalvolumes fi } && complete -F _pvmove pvmove _pvremove() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_physicalvolumes fi } && complete -F _pvremove pvremove _vgscan() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) fi } && complete -F _vgscan vgscan _vgs() { local cur prev words cword _init_completion || return case $prev in -o|-O|--options|--sort) COMPREPLY=( $( compgen -W 'vg_fmt vg_uuid vg_name vg_attr vg_size vg_free vg_sysid vg_extent_size vg_extent_count vg_free_count max_lv max_pv pv_count lv_count snap_count vg_seqno' \ -- "$cur" ) ) return 0 ;; --units) _lvm_units return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgs vgs _vgdisplay() { local cur prev words cword _init_completion || return case $prev in --units) _lvm_units return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgdisplay vgdisplay _vgchange() { local cur prev words cword _init_completion || return case $prev in -a|-A|-x|--available|--autobackup|--resizeable) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--autobackup --alloc --partial --debug --help --ignorelockingfailure --test --uuid --verbose --version --available --resizeable --logicalvolume --addtag --deltag' \ -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgchange vgchange _vgcreate() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -M|--metadatatype) COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) ) return 0 ;; -s|--physicalextentsize) _lvm_sizes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--autobackup --addtag --alloc --debug --help --maxlogicalvolumes --metadatatype --maxphysicalvolumes --physicalextentsize --test --verbose --version' -- "$cur" ) ) else local args _lvm_count_args @(-A|--autobackup|-M|--metadatatype|-s|--physicalextentsize) if [[ $args -eq 0 ]]; then _lvm_volumegroups else _lvm_physicalvolumes fi fi } && complete -F _vgcreate vgcreate _vgremove() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgremove vgremove _vgrename() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgrename vgrename _vgreduce() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else local args _lvm_count_args @(-A|--autobackup) if [[ $args -eq 0 ]]; then _lvm_volumegroups else _lvm_physicalvolumes fi fi } && complete -F _vgreduce vgreduce _vgextend() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -L|--size) _lvm_sizes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else local args _lvm_count_args @(-A|--autobackup|-L|--size) if [[ $args -eq 0 ]]; then _lvm_volumegroups else _lvm_physicalvolumes fi fi } && complete -F _vgextend vgextend _vgport() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgport vgimport vgexport _vgck() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgck vgck _vgconvert() { local cur prev words cword _init_completion || return case $prev in -M|--metadatatype) COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) ) return 0 ;; --metadatacopies) COMPREPLY=( $( compgen -W '0 1 2' -- "$cur" ) ) return 0 ;; --metadatasize) _lvm_sizes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgconvert vgconvert _vgcfgbackup() { local cur prev words cword _init_completion || return case $prev in -f|--file) _filedir return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgcfgbackup vgcfgbackup _vgcfgrestore() { local cur prev words cword _init_completion || return case $prev in -f|--file) _filedir return 0 ;; -M|--metadatatype) COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) ) return 0 ;; -n|--name) _lvm_volumegroups return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgcfgrestore vgcfgrestore _vgmerge() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgmerge vgmerge _vgsplit() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -M|--metadatatype) COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--autobackup --debug --help --list --metadatatype --test --verbose --version' -- "$cur" ) ) else local args _lvm_count_args @(-A|--autobackup|-M|--metadatatype) if [[ $args -eq 0 || $args -eq 1 ]]; then _lvm_volumegroups else _lvm_physicalvolumes fi fi } && complete -F _vgsplit vgsplit _vgmknodes() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_volumegroups fi } && complete -F _vgmknodes vgmknodes _lvscan() { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) fi } && complete -F _lvscan lvscan _lvs() { local cur prev words cword _init_completion || return case $prev in -o|-O|--options|--sort) COMPREPLY=( $( compgen -W 'lv_uuid lv_name lv_attr lv_minor lv_size seg_count origin snap_percent segtype stripes stripesize chunksize seg_start seg_size' -- "$cur" ) ) return 0 ;; --units) _lvm_units return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_logicalvolumes fi } && complete -F _lvs lvs _lvdisplay() { local cur prev words cword _init_completion || return case $prev in --units) _lvm_units return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_logicalvolumes fi } && complete -F _lvdisplay lvdisplay _lvchange() { local cur prev words cword _init_completion || return case $prev in -a|-A|-C|-M|--available|--autobackup|--contiguous|--persistent) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -p|--permission) COMPREPLY=( $( compgen -W 'r rw' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_logicalvolumes fi } && complete -F _lvchange lvchange _lvcreate() { local cur prev words cword _init_completion || return case $prev in -A|-C|-M|-Z|--autobackup|--contiguous|--persistent|--zero) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -L|--size) _lvm_sizes return 0 ;; -p|--permission) COMPREPLY=( $( compgen -W 'r rw' -- "$cur" ) ) return 0 ;; -n|--name) _lvm_logicalvolumes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else local args _lvm_count_args @(-A|-C|-M|-Z|--autobackup|--contiguous|--persistent|--zero|-L|--size|-p|--permission|-n|--name) if [[ $args -eq 0 ]]; then _lvm_volumegroups else _lvm_physicalvolumes fi fi } && complete -F _lvcreate lvcreate _lvremove() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_logicalvolumes fi } && complete -F _lvremove lvremove _lvrename() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_logicalvolumes fi } && complete -F _lvrename lvrename _lvreduce() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -L|--size) _lvm_sizes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else _lvm_logicalvolumes fi } && complete -F _lvreduce lvreduce _lvresize() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -L|--size) _lvm_sizes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else local args _lvm_count_args @(-A|--autobackup|-L|--size) if [[ $args -eq 0 ]]; then _lvm_logicalvolumes else _lvm_physicalvolumes fi fi } && complete -F _lvresize lvresize _lvextend() { local cur prev words cword _init_completion || return case $prev in -A|--autobackup) COMPREPLY=( $( compgen -W 'y n' -- "$cur" ) ) return 0 ;; -L|--size) _lvm_sizes return 0 ;; esac if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '$( _parse_usage "$1" --help )' -- "$cur" ) ) else local args _lvm_count_args @(-A|--autobackup|-L|--size) if [[ $args -eq 0 ]]; then _lvm_logicalvolumes else _lvm_physicalvolumes fi fi } && complete -F _lvextend lvextend _lvm() { local cur prev words cword _init_completion || return if [[ $cword -eq 1 ]]; then COMPREPLY=( $( compgen -W 'dumpconfig help lvchange lvcreate lvdisplay lvextend lvmchange lvmdiskscan lvmsadc lvmsar lvreduce lvremove lvrename lvresize lvs lvscan pvchange pvcreate pvdata pvdisplay pvmove pvremove pvresize pvs pvscan vgcfgbackup vgcfgrestore vgchange vgck vgconvert vgcreate vgdisplay vgexport vgextend vgimport vgmerge vgmknodes vgreduce vgremove vgrename vgs vgscan vgsplit version' -- "$cur" ) ) else case ${words[1]} in pvchange) _pvchange ;; pvcreate) _pvcreate ;; pvdisplay) _pvdisplay ;; pvmove) _pvmove ;; pvremove) _pvremove ;; pvresize) _pvresize ;; pvs) _pvs ;; pvscan) _pvscan ;; vgcfgbackup) _vgcfgbackup ;; vgcfgrestore) _vgcfgrestore ;; vgchange) _vgchange ;; vgck) _vgck ;; vgconvert) _vgconvert ;; vgcreate) _vgcreate ;; vgdisplay) _vgdisplay ;; vgexport) _vgexport ;; vgextend) _vgextend ;; vgimport) _vgimport ;; vgmerge) _vgmerge ;; vgmknodes) _vgmknodes ;; vgreduce) _vgreduce ;; vgremove) _vgremove ;; vgrename) _vgrename ;; vgs) _vgs ;; vgscan) _vgscan ;; vgsplit) _vgsplit ;; lvchange) _lvchange ;; lvcreate) _lvcreate ;; lvdisplay) _lvdisplay ;; lvextend) _lvextend ;; lvreduce) _lvreduce ;; lvremove) _lvremove ;; lvrename) _lvrename ;; lvresize) _lvresize ;; lvs) _lvs ;; lvscan) _lvscan ;; esac fi } && complete -F _lvm lvm # ex: ts=4 sw=4 et filetype=sh
Close