K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / etc / bash_completion.d /
server ip : 104.21.89.46

your ip : 172.70.130.176

H O M E


Filename/etc/bash_completion.d/initramfs-tools
Size713
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 09:50
Last modified01-Jun-2012 11:36
Last accessed06-Jul-2025 07:33
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
# update-initramfs(8) completion

_update_initramfs()
{
local cur prev valid_options

# TODO: this can be "_get_comp_words_by_ref cur prev" once
# bash-completion >= 1.2 is available, see #537139
cur=$(_get_cword)
prev=${COMP_WORDS[COMP_CWORD-1]}

# The only option that takes an argument is -k
if [[ "$prev" == '-k' ]]; then
# Complete with kernel versions
_kernel_versions
COMPREPLY=( $( compgen -W '${COMPREPLY[@]} all' -- "$cur" ) )
return;
fi

# Complete with available options (obtained from -h)
valid_options=$( update-initramfs -h 2>&1 | \
sed -e '/^ -/!d;s/^ \(-\w\+\).*/\1/' )
COMPREPLY=( $( compgen -W "$valid_options" -- $cur ) )
}

complete -F _update_initramfs update-initramfs