the

Cerca

Heus ací els resultats de la cerca.

brace expansion
49 Resultats, Darrera modificació:
expansion is used to generate arbitrary strings. The specified strings are used to generate **all possible combinations** with the optional surrounding preambles and postscripts. ... that follow a specific naming-scheme. :!: It is the very first step in expansion-handling, it's impor... When you use <code> echo {a,b}$PATH </code> then the brace expansion **does not expand the variable**
arrays bash
22 Resultats, Darrera modificació:
tax ^Description ^ | **${ARRAY[N]}** | Expands to the value of the index ''N'' in the **indexed** array ''ARRAY''. If ''N'' is a negative number, it's treated as the offset from the maximum assigned index (can't be
Los ficheros de inicio de Bash
8 Resultats, Darrera modificació:
<code bash># Setup for /bin/ls to support color, the alias is in /etc/bashrc. if [ -f "/etc/dircolors"... les, utiliza el fichero global.<code bash># Setup the INPUTRC environment variable. if [ -z "$INPUTRC" ... soportar color.<code bash># This will tinker with the value of TERM in order to convince certain # app... o no son el mismo.<code bash># By default we want the umask to get set. if [ "$(id -gn)" = "$(id -un)"
awk
5 Resultats, Darrera modificació:
ia: [[https://www.howtogeek.com/562941/how-to-use-the-awk-command-on-linux/]] * rule = pattern + acti... awk; omit.awk>#!/usr/bin/awk -f BEGIN { # set the input and output field separators FS=":" OFS=":" # zero the accounts counter accounts=0 } { # set field 2 to nothing $2="" # print the entire line print $0 # count another account
heredoc (docs emblebed)
4 Resultats, Darrera modificació:
ormed 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 not expanded. So EOF is quoted as follows cat <<'EOF' >$OUT Status
comandos bash
2 Resultats, Darrera modificació:
ns/19604384/unixtwo-directories-with-same-name-on-the-same-path]] === exclusión excluir ficheros del l... askubuntu.com/questions/215505/how-do-you-monitor-the-progress-of-dd]] * ''cpio'' : como ''dd'' pero
grub
2 Resultats, Darrera modificació:
Desde otro Linux:<code bash> sudo fdisk -l # find the EFI partition sudo mount /dev/<partition_name> /m... mgr -v sudo efibootmgr -b XXXX -B # where XXXX is the entry you want to remove (números) </code> /via:
BASH
2 Resultats, Darrera modificació:
nts.io/bash</callout> <callout type="info" title="The Bash Hackers Wiki" icon="true">https://wiki.bash-... ttps://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html]]</callout> == scripting <callo
Zona Horaria
2 Resultats, Darrera modificació:
a: [[https://linuxacademy.com/blog/linux/changing-the-time-zone-in-linux-command-line/]] == time syncr... ault.com/questions/303517/how-time-is-affected-by-the-ntpd-and-etc-localtime]] * [[https://coreos.com
dd
1 Resultats, Darrera modificació:
do dd of=...</code> * [[http://askubuntu.com/questions/215505/how-do-you-monitor-the-progress-of-dd]]
grep
1 Resultats, Darrera modificació:
>tail -f some_log_file.log | grep --line-buffered the_thing_i_want</code> * búsqueda de 2 palabras:<c
linux ifs
1 Resultats, Darrera modificació:
]] * [[https://unix.stackexchange.com/questions/9496/looping-through-files-with-spaces-in-the-names]]
Locales
1 Resultats, Darrera modificació:
ps://stackoverflow.com/questions/30479607/explain-the-effects-of-export-lang-lc-ctype-lc-all]] * [[ht
PS1
1 Resultats, Darrera modificació:
]@\h\n" # Line 4: a red "✗" or a green "✓" and the error number if [[ $last_cmd == 0 ]]; then
Special Shell Variables & Parameter Substitution and Expansion
1 Resultats, Darrera modificació:
ng for a specific syntax you saw, without knowing the name? * [[#simple_usage | Simple usage]] *