X7ROOT File Manager
Current Path:
/usr/share/bash-completion/completions
usr
/
share
/
bash-completion
/
completions
/
📁
..
📄
2to3
(918 B)
📄
7z
(3.8 KB)
📄
7za
(3.8 KB)
📄
_cal
(886 B)
📄
_chfn
(238 B)
📄
_chsh
(646 B)
📄
_dmesg
(940 B)
📄
_eject
(799 B)
📄
_hexdump
(702 B)
📄
_hwclock
(609 B)
📄
_ionice
(1.24 KB)
📄
_look
(449 B)
📄
_mock
(2.03 KB)
📄
_modules
(2.49 KB)
📄
_newgrp
(432 B)
📄
_nmcli
(6.14 KB)
📄
_renice
(772 B)
📄
_repomanage
(610 B)
📄
_reptyr
(551 B)
📄
_rfkill
(937 B)
📄
_rtcwake
(873 B)
📄
_runuser
(241 B)
📄
_su
(989 B)
📄
_svn
(8.71 KB)
📄
_svnadmin
(2.28 KB)
📄
_svnlook
(1.95 KB)
📄
_udevadm
(2.13 KB)
📄
_write
(239 B)
📄
_yum
(4.42 KB)
📄
a2x
(898 B)
📄
abook
(1.19 KB)
📄
aclocal
(850 B)
📄
aclocal-1.10
(850 B)
📄
aclocal-1.11
(850 B)
📄
aclocal-1.12
(850 B)
📄
aclocal-1.13
(850 B)
📄
aclocal-1.14
(850 B)
📄
aclocal-1.15
(850 B)
📄
acpi
(446 B)
📄
adb
(1.65 KB)
📄
add_members
(765 B)
📄
addpart
(447 B)
📄
alias
(489 B)
📄
alpine
(881 B)
📄
alternatives
(2.47 KB)
📄
animate
(8.9 KB)
📄
ant
(2.52 KB)
📄
apache2ctl
(382 B)
📄
appdata-validate
(796 B)
📄
apropos
(2.66 KB)
📄
apt-build
(1.43 KB)
📄
apt-cache
(1.97 KB)
📄
apt-get
(2.52 KB)
📄
aptitude
(2.99 KB)
📄
arch
(1.06 KB)
📄
arm-koji
(6.22 KB)
📄
arping
(596 B)
📄
arpspoof
(562 B)
📄
asciidoc
(1.14 KB)
📄
asciidoc.py
(1.14 KB)
📄
aspell
(3.31 KB)
📄
autoconf
(953 B)
📄
autoheader
(1015 B)
📄
automake
(874 B)
📄
automake-1.10
(874 B)
📄
automake-1.11
(874 B)
📄
automake-1.12
(874 B)
📄
automake-1.13
(874 B)
📄
automake-1.14
(874 B)
📄
automake-1.15
(874 B)
📄
autoreconf
(1015 B)
📄
autorpm
(350 B)
📄
autoscan
(733 B)
📄
autossh
(11.54 KB)
📄
autoupdate
(733 B)
📄
avctrl
(475 B)
📄
badblocks
(714 B)
📄
bind
(856 B)
📄
bk
(433 B)
📄
blkdiscard
(639 B)
📄
blkid
(2.04 KB)
📄
blkzone
(971 B)
📄
blockdev
(726 B)
📄
bootctl
(1.89 KB)
📄
brctl
(1.02 KB)
📄
btdownloadcurses.py
(1.04 KB)
📄
btdownloadgui.py
(1.04 KB)
📄
btdownloadheadless.py
(1.04 KB)
📄
bts
(4.23 KB)
📄
busctl
(7.83 KB)
📄
bzip2
(1.06 KB)
📄
c++
(2.17 KB)
📄
cal
(426 B)
📄
cancel
(293 B)
📄
cardctl
(382 B)
📄
cc
(2.17 KB)
📄
ccache
(1015 B)
📄
cdrecord
(3.54 KB)
📄
cfagent
(423 B)
📄
cfdisk
(546 B)
📄
cfrun
(1.26 KB)
📄
chage
(580 B)
📄
change_pw
(531 B)
📄
chcpu
(1.47 KB)
📄
check_db
(376 B)
📄
check_perms
(321 B)
📄
checksec
(742 B)
📄
chfn
(445 B)
📄
chgrp
(951 B)
📄
chkconfig
(909 B)
📄
chmem
(501 B)
📄
chown
(1.09 KB)
📄
chpasswd
(601 B)
📄
chronyc
(1.53 KB)
📄
chrpath
(522 B)
📄
chrt
(920 B)
📄
chsh
(504 B)
📄
ci
(893 B)
📄
ciptool
(9.53 KB)
📄
civclient
(702 B)
📄
civserver
(477 B)
📄
cksfv
(521 B)
📄
cleanarch
(354 B)
📄
clisp
(670 B)
📄
clone_member
(542 B)
📄
clzip
(1.12 KB)
📄
co
(893 B)
📄
col
(460 B)
📄
colcrt
(484 B)
📄
colormake
(6.07 KB)
📄
colrm
(509 B)
📄
column
(725 B)
📄
compare
(8.9 KB)
📄
compgen
(1.44 KB)
📄
complete
(1.44 KB)
📄
composite
(8.9 KB)
📄
config_list
(582 B)
📄
configure
(1.16 KB)
📄
conjure
(8.9 KB)
📄
convert
(8.9 KB)
📄
coredumpctl
(3.63 KB)
📄
cpan2dist
(1.2 KB)
📄
cpio
(2.85 KB)
📄
cppcheck
(2.55 KB)
📄
cpupower
(3.42 KB)
📄
createdb
(4.5 KB)
📄
createuser
(4.5 KB)
📄
crontab
(1.16 KB)
📄
cryptsetup
(2.77 KB)
📄
ctrlaltdel
(335 B)
📄
curl
(2.9 KB)
📄
cvs
(11.58 KB)
📄
cvsps
(1.47 KB)
📄
dcop
(383 B)
📄
dd
(1.25 KB)
📄
declare
(1.27 KB)
📄
deja-dup
(699 B)
📄
delpart
(526 B)
📄
desktop-file-validate
(476 B)
📄
devlink
(26.76 KB)
📄
dfutool
(9.53 KB)
📄
dhclient
(591 B)
📄
dict
(1.83 KB)
📄
display
(8.9 KB)
📄
dmesg
(1.15 KB)
📄
dnf
(9.97 KB)
📄
dnsspoof
(504 B)
📄
dot
(1.26 KB)
📄
dpkg
(3.18 KB)
📄
dpkg-deb
(3.18 KB)
📄
dpkg-query
(3.18 KB)
📄
dpkg-reconfigure
(3.18 KB)
📄
dpkg-source
(3.21 KB)
📄
dracut
(3.5 KB)
📄
dropdb
(4.5 KB)
📄
dropuser
(4.5 KB)
📄
dselect
(666 B)
📄
dsniff
(516 B)
📄
dumpdb
(373 B)
📄
dumpe2fs
(520 B)
📄
e2freefrag
(462 B)
📄
e2label
(292 B)
📄
edquota
(3.62 KB)
📄
eject
(1.16 KB)
📄
eog
(652 B)
📄
ether-wake
(531 B)
📄
ethtool
(23.51 KB)
📄
evince
(952 B)
📄
explodepkg
(152 B)
📄
export
(1.59 KB)
📄
f77
(2.17 KB)
📄
f95
(2.17 KB)
📄
faillog
(629 B)
📄
fallocate
(721 B)
📄
fbgs
(1.54 KB)
📄
fbi
(1.79 KB)
📄
fdformat
(566 B)
📄
fdisk
(1.79 KB)
📄
feh
(4.05 KB)
📄
file
(734 B)
📄
file-roller
(1.07 KB)
📄
filebucket
(9.55 KB)
📄
filefrag
(354 B)
📄
filesnarf
(451 B)
📄
fincore
(916 B)
📄
find
(3.84 KB)
📄
find_member
(537 B)
📄
findfs
(695 B)
📄
findmnt
(3.08 KB)
📄
firewall-cmd
(10.36 KB)
📄
flake8
(812 B)
📄
flock
(874 B)
📄
freebsd-update
(587 B)
📄
freeciv-gtk2
(702 B)
📄
freeciv-sdl
(702 B)
📄
freeciv-server
(477 B)
📄
freeciv-xaw
(702 B)
📄
fsck
(787 B)
📄
fsck.cramfs
(684 B)
📄
fsck.minix
(383 B)
📄
fsfreeze
(524 B)
📄
fstrim
(677 B)
📄
function
(1.27 KB)
📄
fusermount
(649 B)
📄
g++
(2.17 KB)
📄
g4
(1.45 KB)
📄
g77
(2.17 KB)
📄
g95
(2.17 KB)
📄
gapplication
(1.36 KB)
📄
gcc
(2.17 KB)
📄
gcj
(2.17 KB)
📄
gcl
(617 B)
📄
gdb
(1.61 KB)
📄
gdbus
(935 B)
📄
genaliases
(324 B)
📄
gendiff
(267 B)
📄
genisoimage
(869 B)
📄
getent
(1.95 KB)
📄
getopt
(815 B)
📄
gfortran
(2.17 KB)
📄
gkrellm
(916 B)
📄
gkrellm2
(916 B)
📄
gm
(858 B)
📄
gmake
(6.07 KB)
📄
gmplayer
(11.09 KB)
📄
gnatmake
(1017 B)
📄
gnokii
(6.81 KB)
📄
gnome-mplayer
(962 B)
📄
gnumake
(6.07 KB)
📄
gpasswd
(605 B)
📄
gpc
(2.17 KB)
📄
gpg
(1.25 KB)
📄
gpg2
(1.31 KB)
📄
gphoto2
(1.37 KB)
📄
gprof
(1.85 KB)
📄
groupadd
(611 B)
📄
groupdel
(121 B)
📄
groupmems
(611 B)
📄
groupmod
(686 B)
📄
growisofs
(896 B)
📄
grpck
(345 B)
📄
grub
(11.41 KB)
📄
gsettings
(2.76 KB)
📄
gzip
(1.15 KB)
📄
hciattach
(9.53 KB)
📄
hciconfig
(9.53 KB)
📄
hcitool
(9.53 KB)
📄
hd
(702 B)
📄
hddtemp
(866 B)
📄
hexdump
(1007 B)
📄
hid2hci
(350 B)
📄
host
(1.97 KB)
📄
hostname
(479 B)
📄
hostnamectl
(2.23 KB)
📄
hping
(766 B)
📄
hping2
(766 B)
📄
hping3
(766 B)
📄
htop
(797 B)
📄
htpasswd
(920 B)
📄
hwclock
(938 B)
📄
iconv
(847 B)
📄
id
(441 B)
📄
identify
(8.9 KB)
📄
idn
(653 B)
📄
ifdown
(387 B)
📄
ifstatus
(387 B)
📄
iftop
(508 B)
📄
ifup
(387 B)
📄
import
(8.9 KB)
📄
info
(1.88 KB)
📄
inject
(510 B)
📄
insmod
(521 B)
📄
insmod.static
(521 B)
📄
installpkg
(737 B)
📄
interdiff
(762 B)
📄
invoke-rc.d
(1.2 KB)
📄
ionice
(1.13 KB)
📄
ip
(10.34 KB)
📄
ipcmk
(576 B)
📄
ipcrm
(1.39 KB)
📄
ipcs
(514 B)
📄
iperf
(1.68 KB)
📄
ipmitool
(5.73 KB)
📄
ipsec
(3.15 KB)
📄
iptables
(2.23 KB)
📄
ipv6calc
(1.35 KB)
📄
iscsiadm
(1.86 KB)
📄
isosize
(529 B)
📄
isql
(354 B)
📄
iwconfig
(2.77 KB)
📄
iwlist
(617 B)
📄
iwpriv
(743 B)
📄
iwspy
(488 B)
📄
jar
(501 B)
📄
jarsigner
(1.62 KB)
📄
java
(8.41 KB)
📄
javac
(8.41 KB)
📄
javadoc
(8.41 KB)
📄
javaws
(774 B)
📄
journalctl
(5.75 KB)
📄
jpegoptim
(865 B)
📄
jps
(594 B)
📄
jshint
(894 B)
📄
k3b
(1.13 KB)
📄
kcov
(1.56 KB)
📄
kernel-install
(1.77 KB)
📄
kill
(579 B)
📄
killall
(762 B)
📄
kldload
(477 B)
📄
kldunload
(369 B)
📄
kmod
(3.16 KB)
📄
koji
(6.22 KB)
📄
kplayer
(11.09 KB)
📄
ktutil
(2.93 KB)
📄
l2ping
(9.53 KB)
📄
larch
(1.94 KB)
📄
last
(949 B)
📄
lastlog
(566 B)
📄
lbzip2
(1.06 KB)
📄
ldapadd
(4.37 KB)
📄
ldapcompare
(4.37 KB)
📄
ldapdelete
(4.37 KB)
📄
ldapmodify
(4.37 KB)
📄
ldapmodrdn
(4.37 KB)
📄
ldappasswd
(4.37 KB)
📄
ldapsearch
(4.37 KB)
📄
ldapvi
(1.35 KB)
📄
ldapwhoami
(4.37 KB)
📄
ldattach
(1.44 KB)
📄
lftp
(634 B)
📄
lftpget
(309 B)
📄
lilo
(1.17 KB)
📄
links
(989 B)
📄
lintian
(5.14 KB)
📄
lintian-info
(5.14 KB)
📄
lisp
(635 B)
📄
list_admins
(387 B)
📄
list_lists
(471 B)
📄
list_members
(858 B)
📄
list_owners
(413 B)
📄
localectl
(3.65 KB)
📄
logger
(1.52 KB)
📄
loginctl
(4.15 KB)
📄
look
(683 B)
📄
losetup
(1.68 KB)
📄
lpq
(602 B)
📄
lpr
(914 B)
📄
lrzip
(1.1 KB)
📄
lsblk
(1.92 KB)
📄
lscpu
(1018 B)
📄
lsinitrd
(1.94 KB)
📄
lsipc
(1.28 KB)
📄
lslocks
(1.04 KB)
📄
lslogins
(1.66 KB)
📄
lsmcli
(18.54 KB)
📄
lsmem
(1.03 KB)
📄
lsns
(1.14 KB)
📄
lsof
(1.36 KB)
📄
lua
(434 B)
📄
luac
(486 B)
📄
luseradd
(999 B)
📄
luserdel
(474 B)
📄
lusermod
(999 B)
📄
lvchange
(19.51 KB)
📄
lvcreate
(19.51 KB)
📄
lvdisplay
(19.51 KB)
📄
lvextend
(19.51 KB)
📄
lvm
(19.51 KB)
📄
lvmdiskscan
(19.51 KB)
📄
lvreduce
(19.51 KB)
📄
lvremove
(19.51 KB)
📄
lvrename
(19.51 KB)
📄
lvresize
(19.51 KB)
📄
lvs
(19.51 KB)
📄
lvscan
(19.51 KB)
📄
lz4
(1.18 KB)
📄
lz4c
(1.18 KB)
📄
lzip
(1.12 KB)
📄
lzma
(1.01 KB)
📄
lzop
(1.45 KB)
📄
macof
(429 B)
📄
mailmanctl
(469 B)
📄
mailsnarf
(451 B)
📄
make
(6.07 KB)
📄
makepkg
(534 B)
📄
man
(2.66 KB)
📄
mc
(842 B)
📄
mcookie
(599 B)
📄
mcrypt
(1.81 KB)
📄
mdadm
(4.39 KB)
📄
mdecrypt
(1.81 KB)
📄
mdtool
(2.08 KB)
📄
medusa
(682 B)
📄
mencoder
(11.09 KB)
📄
mesg
(412 B)
📄
micropython
(1.63 KB)
📄
mii-diag
(657 B)
📄
mii-tool
(847 B)
📄
minicom
(1005 B)
📄
mkfs
(638 B)
📄
mkfs.cramfs
(821 B)
📄
mkfs.minix
(714 B)
📄
mkinitrd
(1.19 KB)
📄
mkisofs
(869 B)
📄
mkswap
(841 B)
📄
mktemp
(669 B)
📄
mmsitepass
(330 B)
📄
modinfo
(1.07 KB)
📄
modprobe
(3.35 KB)
📄
mogrify
(8.9 KB)
📄
monodevelop
(446 B)
📄
montage
(8.9 KB)
📄
more
(528 B)
📄
mount
(1.92 KB)
📄
mount.linux
(10.36 KB)
📄
mountpoint
(487 B)
📄
mplayer
(11.09 KB)
📄
mplayer2
(11.09 KB)
📄
mr
(2.46 KB)
📄
msgsnarf
(451 B)
📄
msynctool
(1.33 KB)
📄
mtr
(1.88 KB)
📄
mtx
(1.16 KB)
📄
munin-node-configure
(755 B)
📄
munin-run
(651 B)
📄
munin-update
(651 B)
📄
munindoc
(322 B)
📄
mussh
(1.16 KB)
📄
mutt
(4.23 KB)
📄
muttng
(4.23 KB)
📄
mysql
(2.47 KB)
📄
mysqladmin
(1.55 KB)
📄
namei
(500 B)
📄
nc
(1.07 KB)
📄
ncal
(886 B)
📄
ncftp
(629 B)
📄
nethogs
(564 B)
📄
newlist
(575 B)
📄
newusers
(677 B)
📄
ngrep
(779 B)
📄
nmap
(1.8 KB)
📄
nmcli
(3.75 KB)
📄
nsenter
(1.14 KB)
📄
nslookup
(1.97 KB)
📄
ntpdate
(720 B)
📄
nvme
(30.86 KB)
📄
openssl
(10.08 KB)
📄
opera
(1.36 KB)
📄
optipng
(1.16 KB)
📄
p11-kit
(520 B)
📄
p4
(1.45 KB)
📄
pack200
(2.17 KB)
📄
partx
(1.22 KB)
📄
passwd
(497 B)
📄
patch
(1.71 KB)
📄
pbzip2
(1.06 KB)
📄
pccardctl
(382 B)
📄
pdftotext
(932 B)
📄
pdlzip
(1.12 KB)
📄
perl
(3.43 KB)
📄
perldoc
(3.43 KB)
📄
pgrep
(1.18 KB)
📄
phing
(2.52 KB)
📄
pidof
(510 B)
📄
pigz
(1.15 KB)
📄
pine
(881 B)
📄
pinfo
(1.88 KB)
📄
ping
(1.79 KB)
📄
ping6
(1.79 KB)
📄
pip3
(286 B)
📄
pivot_root
(387 B)
📄
pkg-config
(1.27 KB)
📄
pkg-get
(2.09 KB)
📄
pkg_deinstall
(502 B)
📄
pkg_delete
(502 B)
📄
pkg_info
(502 B)
📄
pkgadd
(1.7 KB)
📄
pkgrm
(1.05 KB)
📄
pkgtool
(850 B)
📄
pkgutil
(3.92 KB)
📄
pkill
(1.18 KB)
📄
plague-client
(415 B)
📄
plzip
(1.12 KB)
📄
pm-hibernate
(323 B)
📄
pm-is-supported
(336 B)
📄
pm-powersave
(282 B)
📄
pm-suspend
(323 B)
📄
pm-suspend-hybrid
(323 B)
📄
pmake
(6.07 KB)
📄
pngfix
(799 B)
📄
portablectl
(3.89 KB)
📄
portinstall
(915 B)
📄
portsnap
(493 B)
📄
portupgrade
(479 B)
📄
postalias
(1009 B)
📄
postcat
(933 B)
📄
postconf
(850 B)
📄
postfix
(675 B)
📄
postmap
(1009 B)
📄
postsuper
(1.71 KB)
📄
povray
(1.94 KB)
📄
ppc-koji
(6.22 KB)
📄
prelink
(915 B)
📄
prlimit
(1.3 KB)
📄
protoc
(1.49 KB)
📄
psql
(4.5 KB)
📄
puppet
(9.55 KB)
📄
puppetca
(9.55 KB)
📄
puppetd
(9.55 KB)
📄
puppetdoc
(9.55 KB)
📄
puppetmasterd
(9.55 KB)
📄
puppetqd
(9.55 KB)
📄
puppetrun
(9.55 KB)
📄
pvchange
(19.51 KB)
📄
pvcreate
(19.51 KB)
📄
pvdisplay
(19.51 KB)
📄
pvmove
(19.51 KB)
📄
pvremove
(19.51 KB)
📄
pvs
(19.51 KB)
📄
pvscan
(19.51 KB)
📄
pwck
(342 B)
📄
pwd
(453 B)
📄
pwdx
(485 B)
📄
pwgen
(586 B)
📄
pxz
(1.56 KB)
📄
py.test
(1.74 KB)
📄
py.test-2
(1.74 KB)
📄
py.test-3
(1.74 KB)
📄
pydoc
(989 B)
📄
pydoc3
(989 B)
📄
pyflakes
(445 B)
📄
pylint
(2.34 KB)
📄
pypy
(1.63 KB)
📄
pypy3
(1.63 KB)
📄
python
(1.63 KB)
📄
python2
(1.63 KB)
📄
python3
(1.63 KB)
📄
pyvenv
(428 B)
📄
pyvenv-3.4
(428 B)
📄
pyvenv-3.5
(428 B)
📄
qdbus
(383 B)
📄
qemu
(3.28 KB)
📄
qemu-kvm
(3.28 KB)
📄
qemu-system-i386
(3.28 KB)
📄
qemu-system-x86_64
(3.28 KB)
📄
qrunner
(393 B)
📄
querybts
(1.06 KB)
📄
quota
(3.62 KB)
📄
quotacheck
(3.62 KB)
📄
quotaoff
(3.62 KB)
📄
quotaon
(3.62 KB)
📄
ralsh
(9.55 KB)
📄
raw
(482 B)
📄
rcs
(893 B)
📄
rcsdiff
(893 B)
📄
rdesktop
(1.66 KB)
📄
rdict
(1.83 KB)
📄
readprofile
(679 B)
📄
remove_members
(571 B)
📄
removepkg
(555 B)
📄
rename
(655 B)
📄
renice
(784 B)
📄
reportbug
(3.14 KB)
📄
repquota
(3.62 KB)
📄
resizepart
(568 B)
📄
resolvconf
(428 B)
📄
resolvectl
(6.9 KB)
📄
rev
(432 B)
📄
rfcomm
(9.53 KB)
📄
rfkill
(929 B)
📄
ri
(3.65 KB)
📄
rlog
(893 B)
📄
rmlist
(365 B)
📄
rmmod
(523 B)
📄
route
(792 B)
📄
rpcdebug
(1002 B)
📄
rpm
(10.1 KB)
📄
rpm2targz
(370 B)
📄
rpm2tgz
(370 B)
📄
rpm2txz
(370 B)
📄
rpmbuild
(10.1 KB)
📄
rpmbuild-md5
(10.1 KB)
📄
rpmcheck
(514 B)
📄
rrdtool
(440 B)
📄
rsync
(3.43 KB)
📄
rtcwake
(1.06 KB)
📄
runuser
(864 B)
📄
s390-koji
(6.22 KB)
📄
sbcl
(677 B)
📄
sbcl-mt
(677 B)
📄
sbopkg
(1.72 KB)
📄
scp
(11.54 KB)
📄
screen
(2.2 KB)
📄
script
(667 B)
📄
scriptreplay
(625 B)
📄
sdptool
(9.53 KB)
📄
setarch
(790 B)
📄
setpriv
(2.31 KB)
📄
setquota
(3.62 KB)
📄
setsebool
(1.77 KB)
📄
setsid
(440 B)
📄
setterm
(2.53 KB)
📄
sfdisk
(1.96 KB)
📄
sftp
(11.54 KB)
📄
sh
(874 B)
📄
sidedoor
(11.54 KB)
📄
sitecopy
(1.29 KB)
📄
slackpkg
(3.34 KB)
📄
slapt-get
(2.37 KB)
📄
slapt-src
(1.85 KB)
📄
slogin
(11.54 KB)
📄
smartctl
(4.47 KB)
📄
smbcacls
(6.96 KB)
📄
smbclient
(6.96 KB)
📄
smbcquotas
(6.96 KB)
📄
smbget
(6.96 KB)
📄
smbpasswd
(6.96 KB)
📄
smbtar
(6.96 KB)
📄
smbtree
(6.96 KB)
📄
snownews
(367 B)
📄
sparc-koji
(6.22 KB)
📄
spovray
(1.94 KB)
📄
sqlite3
(599 B)
📄
ss
(1.01 KB)
📄
ssh
(11.54 KB)
📄
ssh-add
(434 B)
📄
ssh-copy-id
(485 B)
📄
ssh-keygen
(1.51 KB)
📄
sshfs
(591 B)
📄
sshmitm
(365 B)
📄
sshow
(428 B)
📄
strace
(3.37 KB)
📄
stream
(8.9 KB)
📄
strings
(1.1 KB)
📄
su
(864 B)
📄
sudo
(1.28 KB)
📄
sudoedit
(1.28 KB)
📄
svcadm
(4.95 KB)
📄
svk
(8.66 KB)
📄
swaplabel
(635 B)
📄
swapoff
(743 B)
📄
swapon
(1.49 KB)
📄
sync_members
(734 B)
📄
synclient
(602 B)
📄
sysbench
(4.04 KB)
📄
sysctl
(804 B)
📄
syspurpose
(720 B)
📄
systemctl
(13.26 KB)
📄
systemd-analyze
(6.63 KB)
📄
systemd-cat
(1.87 KB)
📄
systemd-cgls
(2.29 KB)
📄
systemd-cgtop
(2.05 KB)
📄
systemd-delta
(1.91 KB)
📄
systemd-detect-virt
(1.33 KB)
📄
systemd-path
(1.86 KB)
📄
systemd-resolve
(3.11 KB)
📄
systemd-run
(4.75 KB)
📄
tar
(18.8 KB)
📄
taskset
(1.18 KB)
📄
tcpdump
(1011 B)
📄
tcpkill
(441 B)
📄
tcpnice
(434 B)
📄
tightvncviewer
(3.09 KB)
📄
timedatectl
(2.91 KB)
📄
timeout
(932 B)
📄
tipc
(7.16 KB)
📄
tracepath
(456 B)
📄
tracepath6
(456 B)
📄
trust
(1.99 KB)
📄
tshark
(2.95 KB)
📄
tune2fs
(1.61 KB)
📄
tuned-adm
(604 B)
📄
typeset
(1.27 KB)
📄
udevadm
(3.68 KB)
📄
ul
(655 B)
📄
umount
(512 B)
📄
umount.linux
(4.37 KB)
📄
unace
(480 B)
📄
unpack200
(1.22 KB)
📄
unrar
(614 B)
📄
unshare
(809 B)
📄
unshunt
(351 B)
📄
update-alternatives
(2.47 KB)
📄
update-rc.d
(2.13 KB)
📄
upgradepkg
(811 B)
📄
urlsnarf
(437 B)
📄
useradd
(1.15 KB)
📄
userdel
(539 B)
📄
usermod
(1.27 KB)
📄
utmpdump
(475 B)
📄
uuidgen
(657 B)
📄
uuidparse
(727 B)
📄
valgrind
(3.42 KB)
📄
vgcfgbackup
(19.51 KB)
📄
vgcfgrestore
(19.51 KB)
📄
vgchange
(19.51 KB)
📄
vgck
(19.51 KB)
📄
vgconvert
(19.51 KB)
📄
vgcreate
(19.51 KB)
📄
vgdisplay
(19.51 KB)
📄
vgexport
(19.51 KB)
📄
vgextend
(19.51 KB)
📄
vgimport
(19.51 KB)
📄
vgmerge
(19.51 KB)
📄
vgmknodes
(19.51 KB)
📄
vgreduce
(19.51 KB)
📄
vgremove
(19.51 KB)
📄
vgrename
(19.51 KB)
📄
vgs
(19.51 KB)
📄
vgscan
(19.51 KB)
📄
vgsplit
(19.51 KB)
📄
vigr
(432 B)
📄
vipw
(432 B)
📄
vmstat
(708 B)
📄
vncviewer
(3.09 KB)
📄
vpnc
(1.65 KB)
📄
wall
(634 B)
📄
watch
(1.13 KB)
📄
wdctl
(1.34 KB)
📄
webmitm
(365 B)
📄
wget
(6.47 KB)
📄
whatis
(2.66 KB)
📄
whereis
(535 B)
📄
wine
(509 B)
📄
wipefs
(1.16 KB)
📄
withlist
(413 B)
📄
wodim
(3.54 KB)
📄
wol
(1.11 KB)
📄
write
(431 B)
📄
wsimport
(1.1 KB)
📄
wtf
(928 B)
📄
wvdial
(1.25 KB)
📄
xfreerdp
(1.05 KB)
📄
xgamma
(2.01 KB)
📄
xhost
(367 B)
📄
xm
(7.41 KB)
📄
xmllint
(1.04 KB)
📄
xmlwf
(699 B)
📄
xmms
(663 B)
📄
xmodmap
(486 B)
📄
xpovray
(1.94 KB)
📄
xrandr
(2.14 KB)
📄
xrdb
(510 B)
📄
xsltproc
(1.22 KB)
📄
xvnc4viewer
(3.09 KB)
📄
xxd
(471 B)
📄
xz
(1.56 KB)
📄
xzdec
(739 B)
📄
ypcat
(768 B)
📄
ypmatch
(768 B)
📄
yum-arch
(360 B)
📄
zopfli
(689 B)
📄
zopflipng
(930 B)
📄
zramctl
(1.24 KB)
Editing: nvme
# bash tab completion for the nvme command line utility # (unfortunately, bash won't let me add descriptions to cmds) # Kelly Kaoudis kelly.n.kaoudis at intel.com, Aug. 2015 # Constant to indicate command has no options readonly NO_OPTS="" # Associative array of plugins and associated subcommands # Order here is same as PLUGIN_OBJS in Makefile typeset -A _plugin_subcmds readonly _plugin_subcmds=( [intel]="id-ctrl internal-log lat-stats \ set-bucket-thresholds lat-stats-tracking \ market-name smart-log-add temp-stats" [amzn]="id-ctrl" [lnvm]="list info id-ns chunk-log init create \ remove factory diag-bbtbl diag-set-bbtbl" [memblaze]="smart-log-add get-pm-status set-pm-status \ select-download lat-stats lat-stats-print lat-log \ lat-log-print clear-error-log" [wdc]="cap-diag drive-log get-crash-dump get-pfail-dump \ id-ctrl purge purge-monitor vs-internal-log \ vs-nand-stats vs-smart-add-log clear-pcie-correctable-errors \ drive-essentials get-drive-status clear-assert-dump \ drive-resize vs-fw-activate-history clear-fw-activate-history \ enc-get-log vs-telemetry-controller-option \ vs-error-reason-identifier log-page-directory \ namespace-resize vs-drive-info vs-temperature-stats \ capabilities cloud-SSD-plugin-version vs-pcie-stats" [huawei]="list id-ctrl" [netapp]="smdevices ontapdevices" [toshiba]="vs-smart-add-log vs-internal-log \ clear-pcie-correctable-errors" [micron]="select-download vs-temperature-stats vs-pcie-stats \ clear-pcie-correctable-errors vs-internal-log \ vs-telemetry-controller-option vs-nand-stats \ vs-drive-info plugin-version cloud-SSD-plugin-version \ log-page-directory vs-fw-activate-history \ vs-error-reason-identifier vs-smart-add-log \ clear-fw-activate-history vs-smbus-option" [seagate]="vs-temperature-stats vs-log-page-sup \ vs-smart-add-log vs-pcie-stats clear-pcie-correctable-errors \ get-host-tele get-ctrl-tele vs-internal-log \ plugin-version" [virtium]="save-smart-to-vtview-log show-identify" [shannon]="smart-log-add get-feature-add set-feature-add id-ctrl" [dera]="smart-log-add" [sfx]="smart-log-add lat-stats get-bad-block query-cap \ change-cap set-feature get-feature" [transcend]="healthvalue badblock" [zns]="id-ctrl id-ns zone-mgmt-recv \ zone-mgmt-send report-zones close-zone \ finish-zone open-zone reset-zone offline-zone \ set-zone-desc zone-append changed-zone-list" [nvidia]="id-ctrl" [ymtc]="smart-log-add" ) # Associative array mapping plugins to coresponding option completions typeset -A _plugin_funcs readonly _plugin_funcs=( [intel]="plugin_intel_opts" [amzn]="plugin_amzn_opts" [lnvm]="plugin_lnvm_opts" [memblaze]="plugin_memblaze_opts" [wdc]="plugin_wdc_opts" [huawei]="plugin_huawei_opts" [toshiba]="plugin_toshiba_opts" [micron]="plugin_micron_opts" [seagate]="plugin_seagate_opts" [virtium]="plugin_virtium_opts" [shannon]="plugin_shannon_opts" [dera]="plugin_dera_opts" [sfx]="pluginx_sfx_opts" [transcend]="plugin_transcend_opts" [zns]="plugin_zns_opts" [nvidia]="plugin_nvidia_opts" [ymtc]="plugin_ymtc_opts" ) # Top level commands _cmds="list list-subsys id-ctrl id-ns \ id-ns-granularity list-ns list-ctrl \ nvm-id-ctrl primary-ctrl-caps list-secondary \ ns-descs id-nvmset id-uuid id-iocs create-ns \ delete-ns get-ns-id get-log telemetry-log \ fw-log changed-ns-list-log smart-log ana-log \ error-log effects-log endurance-log \ predictable-lat-log pred-lat-event-agg-log \ persistent-event-log endurance-agg-log \ lba-status-log resv-notif-log get-feature \ device-self-test self-test-log set-feature \ set-property get-property format fw-commit \ fw-download admin-passthru io-passthru \ security-send security-recv get-lba-status \ resv-acquire resv-register resv-release \ resv-report dsm copy flush compare read \ write write-zeros write-uncor verify \ sanitize sanitize-log reset subsystem-reset \ ns-rescan show-regs discover connect-all \ connect disconnect disconnect-all gen-hostnqn \ show-hostnqn dir-receive dir-send virt-mgmt \ rpmb boot-part-log fid-support-effects-log \ supported-log-pages lockdown list-endgrp" # Add plugins: for plugin in "${!_plugin_subcmds[@]}"; do _cmds+=" $plugin" done cmds+=" version help" nvme_list_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 2 ]; then opts="/dev/nvme* " fi opts+=" " # Listed here in the same order as in nvme-builtin.h case "$1" in "list") opts+=$NO_OPTS ;; "list-subsys") opts=+=" --output-format= -o --verbose -v" ;; "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "id-ns") opts+=" --namespace-id= -n --raw-binary -b \ --human-readable -H --vendor-specific -v \ --force -f --output-format= -o" ;; "id-ns-granularity") opts+=" --output-format= -o" ;; "list-ns") opts+=" --namespace-id= -n --al -a --csi= -y \ --outputformat= -o" ;; "list-ctrl") opts+=" --namespace-id= -n --cntid= -c \ --output-format= -o" ;; "cmdset-ind-id-ns") opts+=" --namespace-id= -n --raw-binary -b \ --human-readable -H --output-format= -o" ;; "id-domain") opts+=" --dom-id= -d --output-format= -o" ;; "nvm-id-ctrl") opts+=" --output-format= -o" ;; "primary-ctrl-caps") opts+=" --output-format= -o --human-readable -H" ;; "list-secondary") opts+=" --cntid= -c --namespace-id= n --num-entries -e \ --output-format= -o" ;; "ns-descs") opts+=" --namespace-id= -n --output-format -o --raw-binary -b" ;; "id-nvmset") opts+=" --nvmeset-id= -i --output-format= -o" ;; "id-uuid") opts+=" --output-format= -o --raw-binary -b --human-readable -H" ;; "list-endgrp") opts+=" --endgrp-id= -i --output-format= -o" ;; "id-iocs") opts+=" --controller-id= -c --output-format= -o --human-readable -H" ;; "create-ns") opts+=" --nsze= -s --ncap= -c --flbas= -f \ --dps= -d --nmic= -n --anagrp-id= -a --nvmset-id= -i \ --block-size= -b --timeout= -t--csi= -y" ;; "delete-ns") opts+=" -namespace-id= -n --timeout= -t" ;; "attach-ns") opts+=" --namespace-id= -n --controllers= -c" ;; "detach-ns") opts+=" --namespace-id= -n --controllers= -c" ;; "get-ns-id") opts+=$NO_OPTS ;; "get-log") opts+=" --log-id= -i --log-len= -l --namespace-id= -n \ --aen= -a --lpo= -o --lsp= -s --lsi= -S \ --rae -r --uuid-index= -U --csi= -y --ot -O \ --raw-binary -b" ;; "supported-log-pages") opts+=" --output-format= -o --human-readable -H" ;; "telemetry-log") opts+=" --output-file= -o --host-generate= -g \ --controller-init -c --data-area= -d" ;; "fw-log") opts+=" --raw-binary -b --output-format= -o" ;; "changed-ns-list-log") opts+=" --output-format= -o --raw-binary -b" ;; "smart-log") opts+=" --namespace-id= -n --raw-binary -b \ --output-format= -o" ;; "ana-log") opts+=" --output-format -o" ;; "fid-support-effects-log") opts+=" --output-format -o" ;; "error-log") opts+=" --raw-binary -b --log-entries= -e \ --output-format= -o" ;; "effects-log") opts+=" --output-format= -o --human-readable -H \ --raw-binary -b" ;; "endurance-log") opts+=" --output-format= -o --group-id -g" ;; "predictable-lat-log") opts+=" --nvmset-id= -i --raw-binary -b \ --output-format= -o" ;; "pred-lat-event-agg-log") opts+=" --log-entries= -e --rae -r \ --raw-binary -b --output-format= -o" ;; "persistent-event-log") opts+=" --action= -a --log-len= -l \ --raw-binary -b --output-format= -o" ;; "endurance-event-agg-log") opts+=" --log-entries= -e --rae -r \ --raw-binary -b --output-format= -o" ;; "lba-status-log") opts+=" --rae -r --output-format= -o" ;; "resv-notif-log") opts+=" --output-format= -o" ;; "boot-part-log") opts+=" --lsp -s --output-file= -f \ --output-format= -o" ;; "get-feature") opts+=" --namespace-id= -n --feature-id= -f --sel= -s \ --data-len= -l --cdw11= --c -uuid-index= -U --raw-binary -b \ --human-readable -H" ;; "device-self-test") opts+=" --namespace-id= -n --self-test-code= -s" ;; "self-test-log") opts+=" --dst-entries= -e --output-format= -o \ --verbose -v" ;; "set-feature") opts+=" --namespace-id= -n --feature-id= -f --value= -v \ --data-len= -l -data= -d --value= -v --save -s --uuid-index= -U \ --cdw12= -c" ;; "set-property") opts+=" --offset= -o --value= -v" ;; "get-property") opts=+" --offset= -o --human-readable -H" ;; "format") opts+=" --namespace-id= -n --timeout= -t --lbaf= -l \ --ses= -s --pil= -p -pi= -i --ms= -m --reset -r" ;; "fw-commit") opts+=" --slot= -s --action= -a --bpid= -b" ;; "fw-download") opts+=" --fw= -f --xfer= -x --offset= -o" ;; "capacity-mgmt") opts+=" --operation= -f --element-id= -i --cap-lower= -l \ --cap-upper= -u" ;; "lockdown") opts+=" --ofi= -O --ifc= -F --prhbt= -P \ -scp= -S --uuid -U" ;; "admin-passthru") opts+=" --opcode= -o --flags= -f --prefil= -p --rsvd= -R \ --namespace-id= -n --data-len= -l --metadata-len= -m \ --timeout= -t --cdw2= -2 --cdw3= -3 --cdw10= -4 \ --cdw11= -5 --cdw12= -6 --cdw13= -7 --cdw14= -8 \ --cdw15= -9 --input-file= -i --raw-binary -b \ --show-command -s --dry-run -d --read -r --write -w \ --latency -T" ;; "io-passthru") opts+=" --opcode= -o --flags= -f --prefill= -p --rsvd= -R \ --namespace-id= -n --data-len= -l --metadata-len= -m \ --timeout= -t --cdw2= -2 --cdw3= -3 --cdw10= -4 \ --cdw11= -5 --cdw12= -6 --cdw13= -7 --cdw14= -8 \ --cdw15= -9 --input-file= -i --raw-binary -b \ --show-command -s --dry-run -d --read -r --write -w \ --latency -T" ;; "security-send") opts+=" --namespace-id= -n --file= -f --nssf= -N --secp= -p \ --spsp= -s --tl= -t" ;; "security-recv") opts+=" --namespace-id= -n --size= -x --secp= -p --spsp= -s \ --al= -t --raw-binary -b" ;; "get-lba-status") opts+=" --namespace-id= -n --start-lba= -s --max-dw= -m \ --action= -a --range-len= -l --timeout= -t \ --output-format= -o" ;; "resv-acquire") opts+=" --namespace-id= -n --crkey= -c --prkey= -p \ --rtype= -t --racqa= -a --iekey= -i" ;; "resv-register") opts+=" --namespace-id= -n --crkey= -c --nrkey= -k \ --rrega= -r --cptpl= -p --iekey -i" ;; "resv-release") opts+=" --namespace-id= -n --crkey -c --rtype= -t \ --rrela= -a --iekey -i" ;; "resv-report") opts+=" --namespace-id= -n --numd= -d --cdw11 -c \ --output-format= -o --raw-binary -b" ;; "dsm") opts+=" --namespace-id= -n --ctx-attrs= -a --blocks= -b \ --slbs= -s --ad -d --idw -w --idr -r --cdw11= -c" ;; "copy") opts+=" --namespace-id= -n --sdlba= -d --blocks= -b --slbs= -s \ --limited-retry -l --force-unit-access -f \ --prinfow= -p --prinfor= -P \ --ref-tag= -r --expected-ref-tag= -R \ --app-tag= -a --expected-app-tag= -A \ --app-tag-mask= -m --expected-app-tag-mask= -M \ --dir-type= -T --dir-spec= -S --format= -F" ;; "flush") opts+=" --namespace-id= -n" ;; "compare") opts+=" --start-block= -s --block-count= -c --data-size= -z \ --metadata-size= -y --ref-tag= -r --data= -d \ --metadata= -M --prinfo= -p --app-tag-mask= -m \ --app-tag= -a --limited-retry -l \ --force-unit-access -f --storage-tag-check -C \ --dir-type= -T --dir-spec= -S --dsm= -D --show-command -v \ --dry-run -w --latency -t" ;; "read") opts+=" --start-block= -s --block-count= -c --data-size= -z \ --metadata-size= -y --ref-tag= -r --data= -d \ --metadata= -M --prinfo= -p --app-tag-mask= -m \ --app-tag= -a --limited-retry -l \ --force-unit-access -f --storage-tag-check -C \ --dir-type= -T --dir-spec= -S --dsm= -D --show-command -v \ --dry-run -w --latency -t" ;; "write") opts+=" --start-block= -s --block-count= -c --data-size= -z \ --metadata-size= -y --ref-tag= -r --data= -d \ --metadata= -M --prinfo= -p --app-tag-mask= -m \ --app-tag= -a --limited-retry -l \ --force-unit-access -f --storage-tag-check -C \ --dir-type= -T --dir-spec= -S --dsm= -D --show-command -v \ --dry-run -w --latency -t" ;; "write-zeros") opts+=" --namespace-id= -n --start-block= -s \ --block-count= -c --deac -d --limited-retry -l \ --force-unit-access -f --prinfo= -p --ref-tag= -r \ --app-tag-mask= -m --app-tag= -a \ --storage-tag= -S --storage-tag-check -C" ;; "write-uncor") opts+=" --namespace-id= -n --start-block= -s \ --block-count= -c" ;; "verify") opts+=" --namespace-id= -n --start-block= -s \ --block-count= -c --limited-retry -l \ --force-unit-access -f --prinfo= -p --ref-tag= -r \ --app-tag= -a --app-tag-mask= -m \ --storage-tag= -S --storage-tag-check -C" ;; "sanitize") opts+=" --no-dealloc -d --oipbp -i --owpass= -n \ --ause -u --sanact= -a --ovrpat= -p" ;; "sanitize-log") opts+=" --rae -r --output-format= -o --human-readable -H \ --raw-binary -b" ;; "reset") opts+=$NO_OPTS ;; "subsystem-reset") opts+=$NO_OPTS ;; "ns-rescan") opts+=$NO_OPTS ;; "show-regs") opts+=" --output-format= -o --human-readable -H" ;; "discover") opts+=" --transport= -t -traddr= -a -trsvcid= -s \ --host-traddr= -w --hsot-iface= -f \ --hostnqn= -q --hostid -I --raw= -r \ --raw= -r --device= -d --keep-alive-tmo= -k \ --ctrl-loss-tmo= -l --fast-io-fail-tmo= -f \ --tos= -T --hdr-digest= -g --data-digest -G \ --nr-io-queues= -i --nr-write-queues= -W \ --nr-poll-queues= -P --queue-size= -Q \ --persistent -p --quiet -S --matching -m \ --output-format= -o" ;; "connect-all") opts+=" --transport= -t -traddr= -a -trsvcid= -s \ --host-traddr= -w --hsot-iface= -f \ --hostnqn= -q --hostid -I --raw= -r \ --raw= -r --device= -d --keep-alive-tmo= -k \ --ctrl-loss-tmo= -l --fast-io-fail-tmo= -f \ --tos= -T --hdr-digest= -g --data-digest -G \ --nr-io-queues= -i --nr-write-queues= -W \ --nr-poll-queues= -P --queue-size= -Q \ --persistent -p --quiet -S --matching -m \ --output-format= -o" ;; "connect") opts+=" --transport= -t --nqn= -n --traddr= -a --trsvcid -s \ --hostnqn= -q --host-id= -I --nr-io-queues= -i \ --nr-poll-queues= -P --queue-size= -Q \ --keep-alive-tmo= -k --reconnect-delay= -r \ --ctrl-loss-tmo= -l --fast-io-fail-tmo= -f \ --tos= -T --duplicate-connect -D --disable-sqflow -d\ --hdr-digest -g --data-digest -G --output-format= -o" ;; "disconnect") opts+=" --nqn -n --device -d" ;; "disconnect-all") opts+=$NO_OPTS ;; "gen-hostnqn") opts+=$NO_OPTS ;; "show-hostnqn") opts+=$NO_OPTS ;; "dir-receive") opts+=" --namespace-id= -n --data-len= -l --raw-binary -b \ --dir-type= -D --dir-spec= -S --dir-oper= -O \ --req-resource= -r --human-readable -H" ;; "dir-send") opts+=" --namespace-id= -n --data-len= -l --dir-type= -D \ --target-dir= -T --dir-spec= -S --dir-oper= -O \ --endir= -e --human-readable -H --raw-binary -b" ;; "virt-mgmt") opts+=" --cntlid= -c --rt= -r --act= -a --nr= -n" ;; "rpmb") opts+=" --cmd= -c --msgfile= -f --keyfile= -g \ --key= -k --msg= -d --address= -o --blocks= -b \ --target= -t" ;; "version") opts+=$NO_OPTS ;; "help") opts=$_cmds ;; esac opts+=" -h --help" COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_intel_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "internal-log") opts+=" --log= -l --region= -r --nlognum= -m \ --namespace-id= -n --output-file= -o \ --verbose-nlog -v" ;; "lat-stats") opts+=" --write -w --raw-binary -b --json -j" ;; "set-bucket-thresholds") opts+=" --write -w --bucket-thresholds= -t" ;; "lat-stats-tracking") opts+=" --enable -e --disable -d" ;; "market-name") opts+=" --raw-binary -b" ;; "smart-log-add") opts+=" --namespace-id= -n --raw-binary -b \ --json -j" ;; "temp-stats") opts+=" --raw-binary -b" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_amzn_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_lnvm_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "list") opts+=$NO_OPTS ;; "info") opts+=$NO_OPTS ;; "id-ns") opts+=" --namespace-id= -n --raw-binary -b --human-readable -H" ;; "chunk-log") opts+=" --output-format= -o --human-readable -H" ;; "init") opts+=" --device-name= -d --mediamgr-name -m" ;; "create") opts+=" --device-name= -d --target-name= -n --target-type= -t \ --lun-begin= -b --lun-end= -e --over-prov= -o --factory -f" ;; "remove") opts+=" --target-name= -n" ;; "factory") opts+=" --device-name= -d --erase-only-marked -e --clear-host-side-blks -s --clear-bb-blks -b" ;; "diag-bbtbl") opts+=" --namespace-id= -n --channel-id= -c --lun-id= -l \ --raw-binary -b" ;; "diag-set-bbtbl") opts+=" --namespace-id= -n --channel-id= -c --lun-id= -l \ --plane-id= -p --block-id= -b --value= -v" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_memblaze_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "smart-log-add") opts+=" --namespace-id= -n --raw-binary -b" ;; "get-pm-status") opts+=$NO_OPTS ;; "set-pm-status") opts+=" --value= -v --save -s" ;; "select-download") opts+=" --fw= -f --select= -s" ;; "lat-stats") opts+=" --enable -e --disable -d" ;; "lat-stats-print") opts+=" --write -w" ;; "lat-log") opts+=" --param= -p" ;; "lat-log-print") opts+=$NO_OPTS ;; "clear-error-log") opts+=$NO_OPTS ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_wdc_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "cap-diag") opts+=" --output-file= -o --transfer-size= -s" ;; "drive-log") opts+=" --output-file= -o" ;; "get-crash-dump") opts+=" --output-file= -o" ;; "get-pfail-dump") opts+=" --output-file= -o" ;; "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "purge") opts+=$NO_OPTS ;; "purge-monitor") opts+=$NO_OPTS ;; "vs-internal-log") opts+=" --output-file= -o --transfer-size= -s --data-area= -d \ --file-size= -f --offset= -e --type= -t --verbose -v" ;; "vs-nand-stats") opts+=" --output-format= -o" ;; "vs-smart-add-log") opts+=" --interval= -i --output-format= -o --log-page-version= -l \ --log-page-mask= -p" ;; "clear-pcie-correctable-errors") opts+=$NO_OPTS ;; "drive-essentials") opts+=" --dir-name= -d" ;; "get-drive-status") opts+=$NO_OPTS ;; "clear-assert-dump") opts+=$NO_OPTS ;; "drive-resize") opts+=" --size= -s" ;; "vs-fw-activate-history") opts+=" --output-format= -o" ;; "clear-fw-activate-history") opts+=$NO_OPTS ;; "enc-get-log") opts+=" --output-file= -o --transfer-size= -s --log-id= -l" ;; "vs-telemetry-controller-option") opts+=" --disable -d --enable -e --status -s" ;; "vs-error-reason-identifier") opts+=" --log-id= -i --file= -o" ;; "log-page-directory") opts+=" --output-format= -o" ;; "namespace-resize") opts+=" --namespace-id= -n --op-option= -o" ;; "vs-drive-info") opts+=" --output-format= -o" ;; "vs-temperature-stats") opts+=" --output-format= -o" ;; "capabilities") opts+=$NO_OPTS ;; "cloud-SSD-plugin-version") opts+=$NO_OPTS ;; "vs-pcie-stats") opts+=" --output-format= -o" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_huawei_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "list") opts+=" --output-format= -o" ;; "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_toshiba_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "vs-smart-add-log") opts+=" --namespace-id= -n --output-file= -o --log= -l" ;; "vs-internal-log") opts+=" --output-file= -o --prev-log -p" ;; "clear-pcie-correctable-errors") opts+=$NO_OPTS ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_micron_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "select-download") opts+=" --fw= -f --select= -s" ;; "vs-temperature-stats") opts+=" --format= -f" ;; "vs-pcie-stats") opts+=" --format= -f" ;; "clear-pcie-correctable-errors") opts+=$NO_OPTS ;; "vs-internal-log") opts+=" --type= -t --package= -p --data_area= -d" ;; "vs-telemetry-controller-option") opts+=" --option= -o --select= -s" ;; "vs-nand-stats") opts+=" --format= -f" ;; "vs-drive-info") opts+=" --format= -f" ;; "plugin-version") opts+=$NO_OPTS ;; "cloud-SSD-plugin-version") opts+=$NO_OPTS ;; "log-page-directory") opts+=$NO_OPTS ;; "vs-fw-activate-history") opts+=" --format= -f" ;; "vs-error-reason-identifier") opts+=" --format= -f" ;; "vs-smart-add-log") opts+=" --format= -f" ;; "clear-fw-activate-history") opts+=$NO_OPTS ;; "vs-smbus-option") opts+=" --option= -o --value= -v --save= -s" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } lugin_seagate_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "vs-temperature-stats") opts+=" --output-format= -o" ;; "vs-log-page-sup") opts+=" --output-format= -o" ;; "vs-smart-add-log") opts+=" --output-format= -o" ;; "vs-pcie-stats") opts+=" --output-format= -o" ;; "clear-pcie-correctable-errors") opts+=" --save -s" ;; "get-host-tele") opts+=" --namespace-id= -n --log-specific= -i --raw-binary -b" ;; "get-ctrl-tele") opts+=" --namespace-id= -n --raw-binary -b" ;; "vs-internal-log") opts+=" --namespace-id= -n --dump-file= -f" ;; "plugin-version") opts+=$NO_OPTS ;; "help") opts+="" ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_virtium_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "save-smart-to-vtview-log") opts+=" --run-time= -r --freq= -f --output-file= -o --test-name= -n" ;; "show-identify") opts+=$NO_OPTS ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_shannon_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "smart-log-add") opts+=" --namespace-id= -n --raw-binary -b" ;; "get-feature-add") opts+=" --namespace-id= -n --feature-id -f --sel= -s \ --data-len= -l --raw-binary -b --cdw11= -c --human-readable -H" ;; "set-feature-add") opts+=" --namespace-id= -n --feature-id= -f --value= -v \ --data-len= -l --data= -d --save -s" ;; "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_dera_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "smart-log-add") opts+=$NO_OPTS ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_sfx_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "smart-log-add") opts+=" --namespace-id= -n --raw-binary -b --json -j" ;; "lat-stats") opts+=" --write -w --raw-binary -b" ;; "get-bad-block") opts+=$NO_OPTS ;; "query-cap") opts+=" --raw-binary --json" ;; "change-cap") opts+=" --cap= -c --cap-byte= -z --force -f --raw-binary -b --json -j" ;; "set-feature") opts+=" --namespace-id= -n --feature-id= -f --value= -v --force -s" ;; "get-feature") opts+=" --namespace-id= -n --feature-id -f" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_transcend_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "healthvalue") opts+=$NO_OPTS ;; "badblock") opts+=$NO_OPTS ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_zns_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "id-ns") opts+=" --namespace-id= -n --vendor-specific -v \ --output-format= -o --human-readable -H" ;; "zone-mgmt-recv") opts+=" --output-format= -o --namespace-id= -n \ --start-lba= -s --zra= -z --zrasf= -S --partial -p \ --data-len= -l" ;; "zone-mgmt-send") opts+=" --namespace-id= -n --start-lba= -s \ --select-all -a --zsa= -z --data-len= -l \ --data= -d --timeout= -t" ;; "report-zones") opts+=" --namespace-id= -n --start-lba= -s \ --descs= -d --state= -S --output-format= -o \ --human-readable -H --extended -e --partial -p" ;; "close-zone") opts+=" --namespace-id= -n --start-lba= -s \ --select-all -a --timeout= -t" ;; "finish-zone") opts+=" --namespace-id= -n --start-lba= -s \ --select-all -a --timeout= -t" ;; "open-zone") opts+=" --namespace-id= -n --start-lba= -s \ --select-all -a --timeout= -t" ;; "reset-zone") opts+=" --namespace-id= -n --start-lba= -s \ --select-all -a --timeout= -t" ;; "offline-zone") opts+=" --namespace-id= -n --start-lba= -s \ --select-all -a --timeout= -t" ;; "set-zone-desc") opts+=" --namespace-id= -n --start-lba= -s \ --data= -d --timeout= -t" ;; "zone-append") opts+=" --namespace-id= -n --zslba= -s --data-size= -z \ --metadata-size= -y --data= -d --metadata= -M \ --limited-retry -l --force-unit-access -f --ref-tag= -r --app-tag-mask= -m --app-tag= -a --prinfo= -p \ --piremap -P --latency -t" ;; "changed-zone-list") opts+=" --namespace-id= -n --output-format= -o --rae -r" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_nvidia_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "id-ctrl") opts+=" --raw-binary -b --human-readable -H \ --vendor-specific -v --output-format= -o" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } plugin_ymtc_opts () { local opts="" local compargs="" local nonopt_args=0 for (( i=0; i < ${#words[@]}-1; i++ )); do if [[ ${words[i]} != -* ]]; then let nonopt_args+=1 fi done if [ $nonopt_args -eq 3 ]; then opts="/dev/nvme* " fi opts+=" " case "$1" in "smart-log-add") opts+=" --namespace-id= -n --raw-binary -b" ;; "help") opts+=$NO_OPTS ;; esac COMPREPLY+=( $( compgen $compargs -W "$opts" -- $cur ) ) return 0 } _nvme_subcmds () { local cur prev words cword _init_completion || return if [[ ${#words[*]} -lt 3 ]]; then COMPREPLY+=( $(compgen -W "$_cmds" -- $cur ) ) else for subcmd in "${!_plugin_subcmds[@]}"; do if [[ ${words[1]} == $subcmd ]]; then if [[ ${#words[*]} -lt 4 ]]; then COMPREPLY+=( $(compgen -W "${_plugin_subcmds[$subcmd]}" -- $cur ) ) else func=${_plugin_funcs[$subcmd]} $func ${words[2]} $prev fi return 0 fi done nvme_list_opts ${words[1]} $prev fi return 0 } complete -o default -F _nvme_subcmds nvme
Upload File
Create Folder