Tartalom
Adatok
Licenc: GNU GPLv3+
Verziószám: GNU Bash 5
Fejlesztő/tulajdonos: Free Software Foundation Inc.
Rövid leírás:
Az enable beépített Bash parancs manual oldala és súgója. Az enable a parancsértelmező beépített parancsainak engedélyezése és tiltására szolgáló eszköz. Beépített parancsokat engedélyez és tilt. Egy parancs letiltásával az elérési út beírása nélkül lehet beépített paranccsal megegyező nevű programot futtatni.
Man oldal kimenet
man bash
[...]
enable [-a] [-dnps] [-f filename] [name ...]
Enable and disable builtin shell commands. Disabling a builtin allows a disk com-
mand which has the same name as a shell builtin to be executed without specifying a
full pathname, even though the shell normally searches for builtins before disk
commands. If -n is used, each name is disabled; otherwise, names are enabled. For
example, to use the test binary found via the PATH instead of the shell builtin
version, run ``enable -n test''. The -f option means to load the new builtin com-
mand name from shared object filename, on systems that support dynamic loading.
The -d option will delete a builtin previously loaded with -f. If no name argu-
ments are given, or if the -p option is supplied, a list of shell builtins is
printed. With no other option arguments, the list consists of all enabled shell
builtins. If -n is supplied, only disabled builtins are printed. If -a is sup-
plied, the list printed includes all builtins, with an indication of whether or not
each is enabled. If -s is supplied, the output is restricted to the POSIX special
builtins. The return value is 0 unless a name is not a shell builtin or there is
an error loading a new builtin from a shared object.
[...]
Súgó kimenet
enable --help
enable: enable [-a] [-dnps] [-f fájlnév] [név ...]
Parancsértelmező beépített parancsainak engedélyezése és tiltása.
Beépített parancsokat engedélyez és tilt. Egy parancs letiltásával az
elérési út beírása nélkül lehet beépített paranccsal megegyező nevű
programot futtatni.
Kapcsolók:
-a a beépített parancsok és azok állapotának listázása
-n minden NÉV tiltása vagy a tiltott parancsok listázása
-p a beépített parancsokat listázza újrahasználható formában
-s csak a Posix „special” beépített parancsokat listázza
Dinamikus betöltést szabályozó kapcsolók:
-f NÉV nevű beépített parancs betöltése a FÁJLNÉV megosztott
objektumfájlból
-d egy -f kapcsolóval betöltött parancs eltávolítása
Kapcsolók nélkül minden NÉV engedélyezésre kerül
A beépített parancs helyett a $PATH-ban található „test” használatához
használja az „enable -n test” parancsot.
Kilépési kód:
Sikerrel tér vissza, kivéve ha a NÉV nem egy beépített parancs, vagy
hiba történt.
Kapcsolódó tartalom
- 37 megtekintés