Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- find
- =find == opciones * -name : busca ficheros por nombre * -iname : busca ficheros por nombre sin tener en cuenta mayúsculas o min... ros que empiecen por cadena y algo más: ''find . -name cadena\*'' * buscar todos los fichero excepto los que sean en minúsculas: ''find . -iname cadena\* -not -name cadena\*'' * buscar en dire
- alias
- ix.html]]</callout> == creación <code bash> alias name=value alias name='command' alias name='command arg1 arg2' alias name='/path/to/script' alias name='/path/to/script.pl arg1' </code> == desac
- Special Shell Variables & Parameter Substitution and Expansion
- or a specific syntax you saw, without knowing the name? * [[#simple_usage | Simple usage]] * ''$PA... ETER~}'' * ''${PARAMETER~~}'' * [[#variable_name_expansion | Variable name expansion]] * ''${!PREFIX*}'' * ''${!PREFIX@}'' * [[#substring_removal | Substring removal]] (also for **filename manipulation**!) * ''${PARAMETER#PATTERN}''
- Los ficheros de inicio de Bash
- PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME} : ${PWD}\007"' export PROMPT_COMMAND fi</code>... _ALL=[ll]_[CC] export LANG=[ll]_[CC] export G_FILENAME_ENCODING=@locale</code> * La variable LC_ALL ... alida del comando locale. * La variable G_FILENAME_ENCODING le indica a aplicaciones como Glib y GTK... también conocido como nombre de máquina (hostname). o Inserta el nombre del dominio de la máquina
- comandos bash
- /questions/19604384/unixtwo-directories-with-same-name-on-the-same-path]] === exclusión excluir fichero... 10/26/cortar-archivos-grandes-en-linux/]] * ''rename'' : renombrar ficheros con REG_EXP * ''-n'' :... test) * [[https://www.computerhope.com/unix/rename.htm]] * ''rm !(*.tgz|*.zip)'' : elimina todos l
- PS1
- then local BR=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD 2> /dev/null) if [ "$BR" == HEAD ] then local NM=$(git name-rev --name-only HEAD 2> /dev/null) if [ "$NM" != undefined ] then echo -n "@$NM"
- awk
- umnas:<code bash>awk '{ $1=""; $2=""; print}' filename</code> * cambiar el separador de columnas:<code bash>awk -F':' '{ $1=""; $2=""; print}' filename</code> * líneas que empiecen por número hexadec
- Linux: librerías dinámicas
- icas * Bibliotecas estáticas:<code bash>find / -name '*.a'</code> * Bibilotecas dinámicas:<code bash>find / -name '*.so'</code> == gestión * fichero de configura
- grep
- adena en una serie de ficheros:<code bash>find . -name "*.java" -print0 | xargs -0 grep -i ".*Legacy.*xm
- grub
- find the EFI partition sudo mount /dev/<partition_name> /mnt # mount EFI cp -p /cdrom/EFI/grubx64.efi /m
- heredoc (docs emblebed)
- ommand substitution, arithmetic expansion, or pathname expansion is performed on word. # If any part o
- linux ifs
- S]] * [[https://unix.stackexchange.com/questions/9496/looping-through-files-with-spaces-in-the-names]]
- Referencias indirectas
- muestra las variables que empiecen por N * ''${!name[@]}'' <code bash> export myVar="hi" echo ${!my*}
- Locales
- LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE
- sed
- bash> sed -i.bak '/<\/tomcat-users>/ i\<user username="admin" password="password" roles="admin,manager-