to

Cerca

Heus ací els resultats de la cerca.

brace expansion
23 Resultats, Darrera modificació:
...}<POSTSCRIPT> </code> Brace expansion is used to generate arbitrary strings. The specified strings are used to generate **all possible combinations** with the o... ing preambles and postscripts. Usually it's used to generate mass-arguments for a command, that follo... first step in expansion-handling, it's important to understand that. When you use <code> echo {a,b}$P
arrays bash
14 Resultats, Darrera modificació:
Syntax ^Description ^ | **${ARRAY[N]}** | Expands to the value of the index ''N'' in the **indexed** a... or assignment) - 1 | | **${ARRAY[S]}** | Expands to the value of the index ''S'' in the **associative... RAY[@]}\\ "${ARRAY[*]}"\\ ${ARRAY[*]}** | Similar to [[scripting:posparams#mass_usage| mass-expanding positional parameters]], this expands to all elements. If unquoted, both subscripts ''*''
tar
8 Resultats, Darrera modificació:
da == completo + incremental * ''tar cpf /path/to/complete-file.tar -g /path/to/register.snar /path/backup'' * ''tar cpf /path/to/incremental-file.tar -g /path/to/register.snar /path/backup'' * y así mientras se quiera. * Para
alias
6 Resultats, Darrera modificació:
alias name='command arg1 arg2' alias name='/path/to/script' alias name='/path/to/script.pl arg1' </code> == desactivación (temporal) <code bash> ## path/to/full/command /usr/bin/clear ## call alias with a ... $_myos ### case $_myos in Linux) alias foo='/path/to/linux/bin/foo';; FreeBSD|OpenBSD) alias foo='/pat
Referencias indirectas
4 Resultats, Darrera modificació:
export plugh=cave echo ${xyzzy} # normal, xyzzy to plugh -> plugh echo ${!xyzzy} # indirection, xyzzy to plugh to cave -> cave </code> existen 2 casos en el que este comportamiento se ve modificado: * ''... [[https://stackoverflow.com/questions/11180714/how-to-iterate-over-an-array-using-indirect-reference]]
awk
3 Resultats, Darrera modificació:
awk /via: [[https://www.howtogeek.com/562941/how-to-use-the-awk-command-on-linux/]] * rule = patter... accounts counter accounts=0 } { # set field 2 to nothing $2="" # print the entire line print... <code bash>awk '{ if ( NF == 3 ) print } ' /path/to/input</code> * calcular valor mínimo: <code bas
comandos bash
3 Resultats, Darrera modificació:
[http://askubuntu.com/questions/333640/cp-command-to-exclude-certain-files-from-being-copied ]] <code... ir1 /var/dir2 /nas/dir3 | xargs -n 1 cp -v /path/to/file'': copia **file** en **dir1,dir2,dir3** * ... do ping -t $i -c 1 google.com; done | grep "Time to live exceeded"</code> == miscelaneos * ''hdi
dd
3 Resultats, Darrera modificació:
ia: [[https://superuser.com/questions/1525980/how-to-copy-a-file-system-to-a-smaller-device]] === reset dispositivo * llena el disco de datos aleatorios... 48 count=$blocks status=progress sudo dd if=/path/to/my/iso.img of=/dev/sdd bs=4096 conv=noerror</code
Los ficheros de inicio de Bash
3 Resultats, Darrera modificació:
s como ls --color. <code bash># Setup for /bin/ls to support color, the alias is in /etc/bashrc. if [ ... This will tinker with the value of TERM in order to convince certain # apps that we can, indeed, dis... l mismo.<code bash># By default we want the umask to get set. if [ "$(id -gn)" = "$(id -un)" -a $EUID
find
2 Resultats, Darrera modificació:
h en 01,06,11,16 * [[https://newbedev.com/how-to-use-regex-with-find-command]] * [[https://uni... [[https://stackoverflow.com/questions/6844785/how-to-use-regex-with-find-command]] * [[https://reg
grub
2 Resultats, Darrera modificació:
tps://askubuntu.com/questions/906776/error-failed-to-open-efi-boot-grubx64-efi-dual-booting]] === UEF... mgr -b XXXX -B # where XXXX is the entry you want to remove (números) </code> /via: [[https://ubuntufo
heredoc (docs emblebed)
2 Resultats, Darrera modificació:
via: [[https://www.cyberciti.biz/faq/using-heredoc-rediection-in-bash-shell-script-to-write-to-file/]]
BASH
2 Resultats, Darrera modificació:
nix binaries that can be exploited by an attacker to bypass local security restrictions">[[https://gtf... <comando>''<code bash>$ type -a ls ls is aliased to `ls --color=auto' ls is /bin/ls $ type -a cd cd
Funciones
1 Resultats, Darrera modificació:
overflow.com/questions/6212219/passing-parameters-to-a-bash-function]] * [[http://tldp.org/LDP/abs
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ó:
sed
1 Resultats, Darrera modificació:
Zona Horaria
1 Resultats, Darrera modificació: