Cerca

Heus ací els resultats de la cerca.

Special Shell Variables & Parameter Substitution and Expansion
12 Resultats, Darrera modificació:
ion | <code bash; title=indirection> varname=var_one var_one=a-value echo "${varname}" # var_one echo "${var_one}" # a-value echo "${!varname}" # a-value </code> <code bash; title=prefix> head_on
brace expansion
8 Resultats, Darrera modificació:
" ../imgs</code> This is significantly safer, but one must still be careful to control the values of $... tring lists** and **ranges**. It can be switched on and off under runtime by using the ''set'' builti... y- _money- _back- </code> The brace expansion is only performed, if the given string list is really a **list of strings**, i.e. if there's minimum one "'',''" (comma)! Something like ''{money}'' does
heredoc (docs emblebed)
8 Resultats, Darrera modificació:
T=/tmp/output.txt cat <<EOF Status of backup as on $(date) Backing up files $HOME and /etc/ EOF ec... tmp/output.txt cat <<-EOF Status of backup as on $(date) Backing up files $HOME and /etc/ EOF ... tic expansion, or pathname expansion is performed on word. # If any part of word is quoted, the delimiter is the result of quote removal on word, and the lines in the here-document # are n
comandos bash
2 Resultats, Darrera modificació:
tions/19604384/unixtwo-directories-with-same-name-on-the-same-path]] === exclusión excluir ficheros d... árbol para mostrar información detallada * --one-file-system : o -x, muestra información solo del
debug en bash
2 Resultats, Darrera modificació:
esde una variable <code bash> #!/bin/bash _DEBUG="on" function DEBUG() { [ "$_DEBUG" == "on" ] && $@ } DEBUG echo 'Reading files' for i in * do grep
instalaciones desatendidas
1 Resultats, Darrera modificació:
//coderwall.com/p/axokwa/mysql-5-7-silent-install-on-ubuntu-16]]:<code bash> MYSQL_ROOT_PASSWORD="toor
awk
1 Resultats, Darrera modificació:
w.howtogeek.com/562941/how-to-use-the-awk-command-on-linux/]] * rule = pattern + action * todo el
linux comandos dispositivos de bloque
1 Resultats, Darrera modificació:
oop|mapper|md)%%'%%'' /via: [[https://www.cyberciti.biz/faq/find-hard-disk-hardware-specs-on-linux/]]
Locales
1 Resultats, Darrera modificació:
lang-lc-ctype-lc-all]] * [[https://www.cyberciti.biz/faq/how-to-set-locales-i18n-on-a-linux-unix/]]
PS1
1 Resultats, Darrera modificació:
] then local NM=$(git name-rev --name-only HEAD 2> /dev/null) if [ "$NM" != undefi