Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- find @linux:bash
- =find == opciones * -name : busca ficheros por nombre * -iname : busca ficheros por nombre sin tener... ros que empiecen por cadena y algo más: ''find . -name cadena\*'' * buscar todos los fichero excepto l... ean en minúsculas: ''find . -iname cadena\* -not -name cadena\*'' * buscar en directorios+carpetas, mo... ca el resultado en ficheros: ''find . -type f \( -name \*.php -fprint php_files , -name \*.js -fprint js
- docker (first contact) @linux:docker
- bre del contenedor puede ser su CONTAINER_ID o si NAME (según aparece en el listado generado con el coma... opio:<code bash>$ docker run -d <nombre_imagen> --name <nombre_propio_contenedor></code> * poner en ma... enedor "al vuelo":<code bash>$ docker run -d -P --name web -v /webapp training/webapp</code> * añadir ... ar todo al salir:<code bash>$ docker run -d -rm --name web -v /webapp training/webapp</code> * crear u
- alias @linux:bash
- ix.html]]</callout> == creación <code bash> alias name=value alias name='command' alias name='command arg1 arg2' alias name='/path/to/script' alias name='/path/to/script.pl arg1' </code> == desac
- debian 9 stretch @linux:debian
- run using the --debug option debug_print("Window Name: " .. get_window_name()); debug_print("Application name: " .. get_application_name()) if (get_application_name() == "terminator") then stick_window(); end<
- ZSH zmv @linux:zsh
- # Changing part of a filename (i. e. "file-hell.name" -> "file-heaven.name") $ zmv '(*)hell(*)' '${1}heaven${2}' # or $ zmv '*' '$f:s/hell/heaven/' #... #| ##)/-}' # or - with Bash $ find . -depth -name '* *' -exec bash -c ' > shopt -s extglob > file=$1 > dir=${file%/*} > name=${file##*/} > newname=${name//*([ -]) *([ -])/-
- nginx+certbot en contenedor @linux:debian:seedbox
- n nginx:<code> server { listen 80; server_name <SERVER_NAME>; # location / { # return 301 https://$host$request_uri; # } root /var/ww... } } #server { # listen 443 ssl; # server_name <SERVER_NAME>; # ssl_certificate /etc/letsencrypt/live/k0.vividumcodex.com/fullchain.pem; # ssl_c
- 127.0.0.1 VS 127.0.1.1 @linux:dns
- t in the ''/etc/hosts'' file. In the absence of a name server, any network program on your system consul... termine the IP address that corresponds to a host name. The loopback device is a special, virtual netwo... 127.0.1.1 for mapping the IP address of your host_name in case that you have no network. The host_name matches the hostname defined in ''/etc/hostname''. Fo
- conky @linux:desktop:conky
- lignr ${swapperc}% ${swapbar} #${font}${top_mem name 1}${alignr}${top mem 1} % #${top_mem name 2}${alignr}${top mem 2} % #$font${top_mem name 3}${alignr}${top mem 3} % #$font${top_mem name 4}${alignr}${top mem 4} % #$font${top_mem name 5}${ali
- apt-get @linux:aptget
- nginx from being upgraded - dpkg_selections: name: python selection: hold # Kept multiple packages back (hold packages) - dpkg_selections: name={{ item }} selection=hold with_items: ... emoving hold using Ansible - dpkg_selections: name: python selection: install</code> /via: [[htt
- PS1 @linux:bash
- then local BR=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD 2> /dev/null) if [ "$BR" == HEAD ] then local NM=$(git name-rev --name-only HEAD 2> /dev/null) if [ "$NM" != undefined ] then echo -n "@$NM"
- Special Shell Variables & Parameter Substitution and Expansion @linux:bash
- or a specific syntax you saw, without knowing the name? * [[#simple_usage | Simple usage]] * ''$PA... ETER~}'' * ''${PARAMETER~~}'' * [[#variable_name_expansion | Variable name expansion]] * ''${!PREFIX*}'' * ''${!PREFIX@}'' * [[#substring_remo
- Certificados, certificaciones, Entidades de Certificación @linux:certificados
- mpos solicitados - en Organizational y Common Name usar el nombre que se mostrará (aka "certMate") ... - rellenar los campos solicitados - Common Name usar la URL del servidor que queremos certificar ... citud.csr</code> - en organizational y common name usar el nombre del usuario - Generación certifi
- PKI @linux:certificados
- client** * el segundo argumento es el //short name// de la entidad servidor * genera un archivo ... s el nombre del fichero que generamos y el Common Name que nos sugiere * **nopass** para que no nos ... client** * el segundo argumento es el //short name// de la entidad cliente * genera un archivo *
- glusterfs @linux:filesystem
- <code bash>gluster volume info all | grep "Volume Name"</code> * gluster volume log rotate VOL_NAME [BRICK]:<code>sudo gluster volume log rotate gv0 proce... ums <code bash> sudo gluster volume info Volume Name: gv0 Type: Replicate Volume ID: 39159af2-8a53-44f
- array loop @linux:scripts
- de bash> #!/bin/bash INDEX=1 Code[$INDEX]=code1 Name[$INDEX]=name1 Tenant1[$INDEX]=tenant1 Tenant2[$INDEX]=tenant21 INDEX=$(($INDEX + 1)) Code[$INDEX]=code2 Name[$INDEX]=name2 Tenant1[$INDEX]=tenant2 Tenant2[$INDEX]=tenant22 for i in "${Code[@]}"; do printf '%s\