Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- brace expansion
- nations** with the optional surrounding preambles and postscripts. Usually it's used to generate mass-... must still be careful to control the values of $a and $b. Both the exact quoting, and explicitly including "-a" are important. The brace expansion is present in two basic forms, **string lists** and **ranges**. It can be switched on and off under
- heredoc (docs emblebed)
- us of backup as on $(date) Backing up files $HOME and /etc/ EOF echo "Starting backup using rsync..."... of backup as on $(date) Backing up files $HOME and /etc/ EOF echo "Starting backup using rsync..."... > #!/bin/bash OUT=/tmp/output.txt # No parameter and variable expansion, command substitution, arithme... ter is the result of quote removal on word, and the lines in the here-document # are not expande
- Special Shell Variables & Parameter Substitution and Expansion
- Special Shell Variables & Parameter Substitution and Expansion {{tag>linux}}{{tag>bash}} **$** es util... cripting/posparams]] == Parameter substitution and Expansion ^ expresión ^ Sign... ki>${PARAMETER%%PATTERN}</nowiki>'' * [[#search_and_replace | Search and replace]] * ''${PARAMETER/PATTERN/STRING}'' * ''<nowiki>${PARAMETER//PATT
- Zona Horaria
- a la zona horaria de interés: ''export TZ=Europe/Andorra'' * [[https://superuser.com/questions/18822... fichero correcto en ''/usr/share/zoneinfo/Europe/Andorra'' - añadir el fichero ''/etc/timezone'' con el contenido de TZ, por ejemplo: **Europe/Androrra** /via: [[https://linuxacademy.com/blog/linu... cloud.geek.nz/posts/time-synchronization-with-ntp-and-systemd/]] * [[https://echaleunvistazo.wordpres
- Los ficheros de inicio de Bash
- he substring match ensures this works for "xterm" and "xterm-xfree86". if [ "${TERM:0:5}" = "xterm" ]; ... le.d/xterm-titlebars.sh fi # System wide aliases and functions. # System wide environment variables and startup programs should go into # /etc/profile. Personal environment variables and startup programs # should go into ~/.bash_profile
- arrays bash
- all elements. If unquoted, both subscripts ''*'' and ''@'' expand to the same result, if quoted, ''@''... -expand individual indexes. The rules for quoting and the subscripts ''*'' and ''@'' are the same as above for the other mass-expansions. | </collapse> ==
- find
- bloque de 512 bytes * ''$ find . -size 100c -and -size 200c # busca ficheros entre 100 y 200 bytes... : ! en formato abreviado, escapado en bash * -and : -a en formato abreviado * -or : -o en forma
- PS1
- uestions/4133904/ps1-line-with-git-current-branch-and-colors]] <code bash> function we_are_in_git_work_... ite\]@\h\n" # Line 4: a red "✗" or a green "✓" and the error number if [[ $last_cmd == 0 ]]; then
- BASH
- type="warning" icon="true" title="Bash variables and command substitution">[[http://www.compciv.org/topics/bash/variables-and-substitution/]]</callout> <callout type="warning"
- alias
- ias with a backslash ## \c ## use /bin/ls command and avoid ls alias ## command ls </code> == eliminac
- awk
- .awk>#!/usr/bin/awk -f BEGIN { # set the input and output field separators FS=":" OFS=":" # ze
- Estructuras de control y bucles
- ación de comparaciones / comprobaciones * && -> and * || -> OR * ! -> NOT /vía: [[http://www.lin
- locale
- ap -layout 'es,es' -model pc105'' * [[https://andalinux.wordpress.com/2008/08/08/configurar-teclado