Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- ZSH zmv @linux:zsh
- = ZSH zmv mv/rename mejorado == uso * si no lo hacemos en el **.zshrc**, cargar con ''autoload zmv'' ... " '$1${2//$~unwanted/}' # Changing part of a filename (i. e. "file-hell.name" -> "file-heaven.name") $ zmv '(*)hell(*)' '${1}heaven${2}' # or $ zmv '*' '$f:s/hell/heaven/' #
- find @linux:bash
- =find == opciones * -name : busca ficheros por nombre * -iname : busca ficheros por nombre sin tener en cuenta mayúsculas o min... ros que empiecen por cadena y algo más: ''find . -name cadena\*'' * buscar todos los fichero excepto los que sean en minúsculas: ''find . -iname cadena\* -not -name cadena\*'' * buscar en dire
- rtorrent+rutorrent en contenedor (OLD1) @linux:debiean:seebox:rtorrent_rutorrent
- torage/rtorrent+rutorrent docker run \ -dt \ --name rtorrent-rutorrent \ --restart unless-stopped \ ... ypt.pl>#!/usr/bin/perl use strict; chomp(my $filename=$ARGV[0]); chomp(my $username=$ARGV[1]); chomp(my $password=$ARGV[2]); if (!$filename || !$username || !$password) { print "USAGE: ./
- pure-ftpd @linux:paquetes
- ile <file> * pidfile <path to pid file> * norename * dontresolve * anonymouscantupload * ma... erratio <upload ratio>:<download ratio> * autorename * nochmod * antiwarez * bind <ip address,... >] * minuid <uid> * umask <mask> * bonjour <name> * trustedip <ip address> * allowuserfxp *... st'' * datos de un usuario: ''pure-pw show <username>'' * crear usuario: ''pure-pw useradd <username
- 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
- lsusb @linux:utils
- sysdevpath in $(find /sys/bus/usb/devices/usb*/ -name dev); do ( syspath="${sysdevpath%/dev}" devname="$(udevadm info -q name -p $syspath)" [[ "$devname" == "bus/"* ]] || [[ "$devname" == "input/"* ]] || [[ "$dev
- glusterfs vagrant POC @linux:filesystem:glusterfs
- do |config| cluster.each_with_index do |(hostname, info), index| config.vm.define hostname do |cfg| cfg.vm.provider :virtualbox do |vb, over... twork, ip: "#{info[:ip]}" override.vm.hostname = hostname vb.name = hostname vb.customize ["modifyvm", :id, "--memory", info[:mem], "-
- 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
- fichero .ssh/config @linux:ssh
- ero ''~/.ssh/config'' <sxh bash> Host dev HostName dev.example.com Port 22000 User fooey </s... epositorios> Host github.com User git HostName github.com IdentityFile ~/.ssh/my.key </sxh> <code bash>git clone git@github.com:orgname/repository.git</code> === mismo repositorios git... #user1 account Host bitbucket.org-user1 HostName bitbucket.org User git IdentityFile ~/.
- vim @linux:vim
- ite última edición == more Basics * '':e'' filename : Open filename for edition * '':w'' : Save file * '':q'' : Exit Vim * '':q!'' : Quit without sav... changes has been made) and exit * '':sav'' filename : Saves file as filename * ''.'' : Repeats the last change made in normal mode * ''5.'' : Repeats 5
- Protocolo de Backup @linux:scripts
- y for Dump Files LOCALDIR=/home/bck/ # BDD # Hostname DBHOST='localhost' # dbuser DBUSER='root' # dbpas... asswd='' # MISCELANEA # Nombre del servidor HOSTNAME='pandora' # Estampacion de fecha FECHA=`eval date... -e 's/\//-/g'` tar zcpf $LOCALDIR$FECHA-$HOSTNAME$DESTINO.tar.gz $directorio/* done exit 0 </code>... ATABASE != "Database" ]; then FILENAME=$FECHA-$HOSTNAME-mysql-$DATABASE.sql.gz
- Conexión RDP con tunneling (y VPN) @linux:ssh
- servidor Linux:<code> Host servidorLinux Hostname X.X.X.X user username IdentityFile path/to/key</code> * crear el siguiente script:<code bash> #!/bin/sh scriptname="$(basename $0)" if [ $# -lt 3 ] then echo "Usage: $scriptname start | stop RDP_NODE_IP SSH_NO
- 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_removal | Substring removal]] (also for **filename manipulation**!) * ''${PARAMETER#PATTERN}''
- 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
- 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... logs * <code bash>gluster volume log locate <VOLNAME></code> <- no funciona encara que apareix a la do