Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- brace expansion
- ike ''{1..200}'' can be expressed with variables using ''{$a..$b}''. Due to what I described above, it ... you really can't handle this in another way, is using the ''eval'' command, which basically evaluates ... assigned to an array, another method is possible using declaration commands: <code>declare -a 'pics=(im... It can be switched on and off under runtime by using the ''set'' builtin and the option ''-B'' and ''
- heredoc (docs emblebed)
- definir principio y fin con la misma etiqueta ===sintaxis básica no se permite indentación? <code bash... iles $HOME and /etc/ EOF echo "Starting backup using rsync..." </code> === + indentación natural del... iles $HOME and /etc/ EOF echo "Starting backup using rsync..." </code> === + no bash expansion <code... ## do it cat <&9 >$OUT echo "Starting backup using rsync..." </code> /via: [[https://www.cyber
- BASH
- ux:bash:shellvariables|]] * [[linux:bash:ficherosinicio|]] * [[linux:bash:update-alternatives]] <c... les brackets">https://www.baeldung.com/linux/bash-single-vs-double-brackets#:~:text=In%20this%20article%2C%20we%20discussed,we%20should%20prefer%20single%20brackets.</callout> * [[linux:bash:estruc... *%%[[%%** : [[https://www.baeldung.com/linux/bash-single-vs-double-brackets#:~:text=In%20this%20article
- comandos bash
- index.php?/archives/23-command-line-calculations-using-bc.html]] * ''nl'' -> numbering line * ''cat... * ejecutar comando sobre ficheros de directorio sin scripts:<code bash>for f in * ; do comando; done;... sort -u File1) <(sort -u File2)'' === tiempo * sincroniza la fecha entre 2 servidores, en detrimento... > <comando></code> * Ejecutar comando diferido, sin consola abierta ¿?: <code bash>((sleep 2h;comando
- Los ficheros de inicio de Bash
- ermitirá lanzar ejecutables del directorio actual sin especificar ./, sin embargo quedas avisado de que esto se considera un grave riesgo de seguridad.<code... sencilla (como debe ser en un sistema esencial). Sin embargo, mucha gente querrá que su sistema muestr... arse cuando se ingresa en el sistema remotamente. Sin embargo, ssh sólo lo usará si estableces la opció
- arrays bash
- ay=("${otro_array[@]}") </code> == recuperación ^Sintaxis ^ Descripción ^ | **${ARRAY[N]}** | recupera... to what this syntax does for the characters of a single string when doing [[syntax:pe#substring_expans... RAY[*]}**|Expands to the **indexes** in **ARRAY** since BASH 3.0| </collapse> == destrucción The [[co
- find
- por nombre * -iname : busca ficheros por nombre sin tener en cuenta mayúsculas o minúsculas * -path... rmisos del fichero * %f : nombre del fichero, sin directorio * %g : nombre del grupo al que per... chero * %h : muestra el nombre del directorio sin el nombre del fichero * %u : nombre del usuar
- alias
- ame ### _myos="$(uname)" ### add alias as per os using $_myos ### case $_myos in Linux) alias foo='/pat
- Funciones
- [[https://stackoverflow.com/questions/6212219/passing-parameters-to-a-bash-function]] * [[http://t
- grep
- bra1|palabra2' fichero </code> * mostrar líneas sin comentarios:<code bash>grep -v ^# <fichero> | gre
- grub
- d EFI dir rmdir /s XXX </code> * ''chkdsk /f N:'' <- sistena FAT32, se puede reparar "sin problenas"
- history expansion
- | imprime el comando resultantte sin ejecutarlo | | q | entrecomilla l
- Referencias indirectas
- [[https://stackoverflow.com/questions/11180714/how-to-iterate-over-an-array-using-indirect-reference]]
- sed
- = sed Stream EDitor == sintaxis <code bash> sed [-ns] '[direccion] instruccion argumentos' </code> don
- Special Shell Variables & Parameter Substitution and Expansion
- * [[http://stackoverflow.com/questions/15643834/using-bash-ps-and-cut-together]] == Operaciones con c