fix help
This commit is contained in:
@@ -40,44 +40,44 @@
|
|||||||
help()
|
help()
|
||||||
{
|
{
|
||||||
printf "${BIWhite}Welcome to your profile! Here is a list of available commands:${DEFAULTCOL}\n\n"
|
printf "${BIWhite}Welcome to your profile! Here is a list of available commands:${DEFAULTCOL}\n\n"
|
||||||
|
printf "busy\t\tMonitor /dev/urandom for a hex pattern — look busy\n"
|
||||||
printf "check_updates\tCheck for new versions of profile\n"
|
printf "check_updates\tCheck for new versions of profile\n"
|
||||||
printf "clean\t\tErase backup files\n"
|
printf "clean\t\tErase backup files in given directories, optionally recursive\n"
|
||||||
printf "disp\t\tDisplay formatted info/warning/error/debug messages\n"
|
printf "disp\t\tDisplay formatted info/warning/error/debug messages\n"
|
||||||
printf "dwl\t\tDownload a URL to a local file\n"
|
printf "dwl\t\tDownload a URL using curl, wget, or fetch transparently\n"
|
||||||
printf "expandlist\tExpand and quote item lists\n"
|
printf "expandlist\tExpand glob expressions into a quoted, separated list\n"
|
||||||
printf "file_stats\tDisplay file size statistics for a path\n"
|
printf "file_stats\tDisplay file size statistics for a path\n"
|
||||||
printf "findbig\t\tFind biggest files in the given (or current) directory\n"
|
printf "findbig\t\tFind the biggest files in the given or current directory\n"
|
||||||
printf "finddead\tFind dead symbolic links in the given (or current) directory\n"
|
printf "finddead\tFind dead symbolic links in the given or current directory\n"
|
||||||
printf "findzero\tFind empty files in the given (or current) directory\n"
|
printf "findzero\tFind empty files in the given or current directory\n"
|
||||||
printf "genpwd\t\tGenerate secure passwords\n"
|
printf "genpwd\t\tGenerate one or more random secure passwords with configurable constraints\n"
|
||||||
printf "gpid\t\tGive the list of PIDs for the given process name\n"
|
printf "gpid\t\tGive the list of PIDs matching the given process name(s)\n"
|
||||||
printf "isipv4\t\tTell if the given IPv4 is valid\n"
|
printf "isipv4\t\tTell if the given parameter is a valid IPv4 address\n"
|
||||||
printf "isipv6\t\tTell if the given IPv6 is valid\n"
|
printf "isipv6\t\tTell if the given parameter is a valid IPv6 address\n"
|
||||||
printf "ku\t\tKill process owned by users in parameter\n"
|
printf "ku\t\tKill all processes owned by the given user name or ID\n"
|
||||||
printf "matrix\t\tDisplay matrix-style digital rain\n"
|
printf "matrix\t\tConsole screensaver with Matrix-style digital rain (binary, kana, ascii charset)\n"
|
||||||
printf "mcd\t\tCreate a directory and go inside\n"
|
printf "mcd\t\tCreate a directory and immediately move into it\n"
|
||||||
printf "meteo\t\tDisplay current weather forecast for the configured city\n"
|
printf "meteo\t\tDisplay weather forecast for the configured or given city\n"
|
||||||
printf "myextip\tDisplay current external/public IP\n"
|
printf "myextip\t\tGet information about your public IP address\n"
|
||||||
printf "pkgs\t\tSearch for the given package in installed ones\n"
|
printf "pkgs\t\tSearch for a pattern in installed package names (dpkg/rpm, supports -i)\n"
|
||||||
printf "ppg\t\tDisplay process matching the given parameter\n"
|
printf "ppg\t\tLook for the given pattern in running processes\n"
|
||||||
printf "ppn\t\tDisplay process matching the exact process name given in parameter\n"
|
printf "ppn\t\tList processes matching an exact command name\n"
|
||||||
printf "ppu\t\tDisplay processes owned by the given user\n"
|
printf "ppu\t\tList processes owned by a specific user\n"
|
||||||
printf "profile_upgrade\tUpgrade profile to the latest version\n"
|
printf "profile_upgrade\tUpgrade profile to the latest version (git pull or archive)\n"
|
||||||
printf "pwdscore\tCalculate password strength score\n"
|
printf "pwdscore\tCalculate the strength score of a given password\n"
|
||||||
printf "rain\t\tLet the rain fall\n"
|
printf "rain\t\tConsole screensaver with falling-rain effect (multiple color themes)\n"
|
||||||
printf "rmhost\t\tRemove host (IP and/or DNS name) from current known_hosts\n"
|
printf "rmhost\t\tRemove host (name and IP) from SSH known_hosts; supports --all-users as root\n"
|
||||||
printf "rmspc\t\tRemove spaces from file and directory names\n"
|
printf "rmspc\t\tReplace spaces in filenames with underscores (or a custom character)\n"
|
||||||
printf "setlocale\tSet console language to the current locale\n"
|
printf "setlocale\tSet console locale to any installed locale\n"
|
||||||
printf " * setc\tSet console language to C\n"
|
printf " * setc\tSet locale to standard C (POSIX)\n"
|
||||||
printf " * setfr\tSet console language to French\n"
|
printf " * set*\tLocale shortcuts generated from SET_LOCALE in profile.conf\n"
|
||||||
printf " * setus\tSet console language to US English\n"
|
printf "settrace\tActivate or deactivate ERR trap to display backtrace on script errors\n"
|
||||||
printf "settrace\tActivate/deactivate call trace for script debugging\n"
|
printf "showinfo\tDisplay welcome banner and system information (figlet + neofetch/fastfetch)\n"
|
||||||
printf "showinfo\tShow welcome banner with basic system information\n"
|
printf "ssr\t\tSSH into a server as root, forwarding extra ssh options\n"
|
||||||
printf "ssr\t\tDo a root login to the given address\n"
|
printf "taz\t\tCompress files and directories into a chosen archive format\n"
|
||||||
printf "taz\t\tCompress smartly the given files or directory\n"
|
printf "urlencode\tURL-encode a string\n"
|
||||||
printf "urlencode\tURL-encode the given text\n"
|
printf "utaz\t\tSmartly uncompress archives (zip, tar.gz/bz2/xz/lz, rar, arj, lha, ace, 7z, zst, cpio, cab, deb, rpm)\n"
|
||||||
printf "utaz\t\tUncompress archives in the given (or current) directory\n"
|
printf "ver\t\tDisplay the installed profile version\n\n"
|
||||||
printf "ver\t\tDisplay version of your copy of profile\n\n"
|
|
||||||
|
|
||||||
printf "\nPlease use <command> --help to obtain usage details.\n"
|
printf "\nPlease use <command> --help to obtain usage details.\n"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user