Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- ZSH zmv @linux:zsh
- code bash> # Remove illegal characters in a fat32 file system. Illegal characters are # / : ; * ? ... > | # NOTE: ``-Q'' and (D) is to include hidden files. $ unwanted='[:;*?\"<>|]' $ zmv -Q "(**/)(*$... )(D)" '$1${2//$~unwanted/}' # Changing part of a filename (i. e. "file-hell.name" -> "file-heaven.name") $ zmv '(*)hell(*)' '${1}heaven${2}' # or $ zmv
- vim @linux:vim
- repite última edición == more Basics * '':e'' filename : Open filename for edition * '':w'' : Save file * '':q'' : Exit Vim * '':q!'' : Quit without saving * ''%%:x%%'' : Write file (if changes has been made) and exit * '':sav''
- mis ficheros $HOME @linux:scripts
- ersion coreutils-6.10 # If you do not modify this file, it will be updated when you upgrade # coreutils,... aults/etc/DIR_COLORS. Feel # free to modify this file, at which point coreutils will leave it alone. # # For this file to be useful, you will need a line like this in your # shell configuration file, such as ~/.bashrc: # # alias ls='ls --color=au
- rtorrent+rutorrent en contenedor (OLD1) @linux:debiean:seebox:rtorrent_rutorrent
- l crypt.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: ./crypt.pl filename username password\n\n"; } else { open my $fh, ">>", $filename or die $!; print $fh $username . ":" . cryp
- comandos bash @linux:bash
- eas * -A : eliminar caracteres de control * file * nc : netcat * dig : estilo nslookup. Se da ... om/questions/333640/cp-command-to-exclude-certain-files-from-being-copied ]] <code bash> $ ls !(unliste... ikipedia.org/wiki/Glob_(programming)</callout> == filesystem * ''mkdir -p /jail/{dev,bin,sbin,etc,usr,... /var/dir2 /nas/dir3 | xargs -n 1 cp -v /path/to/file'': copia **file** en **dir1,dir2,dir3** * ''dif
- Linux sadservers @linux:seguridad
- vers == "Saint John": what is writing to this log file? * ''ps auxf'' * ''lsof /path/to/file'' * ''fuser /path/to/file'' * ''pwdx PID'': pwd del fichero PID <code> 1. You can use ps to list al... A better way is to use the command to list open files: lsof. 2. Find the name (first column) and Proc
- apt-get @linux:aptget
- faq/apt-get-hold-back-packages-command/]] == apt-file * equivalente a ''yum provides'' * ''apt install apt-file'' * ''apt-file update'' * ''apt-file search <file>'' /via: [[https://sysadmincasts.com/episodes/41-cli-monday-apt-fi
- tar @linux:bash
- = tar == comprimir * ''tar -czvf <file>.tgz <dir>'' * dónde: * **c** : indica comprimir * **... ero TAR a crear == descomprimir * ''tar -xzvf <file>.tgz [fichero o directorio a extraer]'' * dónde... omprimir + encriptar * ''tar %%--%%create %%--%%file - %%--%%posix %%--%%gzip -- <dir> | openssl enc -e -aes256 -out <file>'' ? == descomprimir + desencriptar * ''openss
- linux filesystem @linux:filesystem
- = linux filesystem * [[linux:fsh:start]] * [[linux:fsh:sys]] * [[linux:swap]] * [[linux:filesystem:luks]] * [[linux:mount:start|]] * [[linux:filesystem:glusterfs]] * [[linux:filesystem:udisks]] * [[linux:filesystem:inodes]] * [[linux:filesyste
- find - fd @linux:utils
- to rudimentarily parallelize a task run over many files. An example of this is calculating the checksum of each individual file within a directory.</code> * ''%%--%%unrestrict... party.jpg). * ''{.}'': Like {}, but without the file extension (documents/images/party). * ''{/}'': ... >fd -e zip -x unzip</code> * Find all test_*.py files and open them in your favorite editor. Note that
- find @linux:bash
- icheros * l : enlaces simbólicos * -fprint <file> : exporta a <file> * es más eficiente que usar redirectores > o >> * -printf <formato><tar,\\n> ... * -fstype * msdos * xdev: solo busca en el filesystem actual, si hay otros montados como director... ros: ''find . -type f \( -name \*.php -fprint php_files , -name \*.js -fprint js_files \)'' * buscar u
- Protocolo de Backup @linux:scripts
- 3:00 -> volcado TAR : ''00 03 * * * /home/bck/bck-files.sh > /dev/null 2>&1'' * 03:45 -> volcado BBD... 30 días == scripts <code bash bck.ini> # BACKUP FILES # directorios de los que hacer backup, separado ... c /home/mate" # RUTAS # Local Directory for Dump Files LOCALDIR=/home/bck/ # BDD # Hostname DBHOST='lo... FECHA=`eval date +%y%m%d` </code> <code bash bck-files.sh> #!/bin/bash # # file system backup # sourc
- NFS @linux:tcpip
- ount -t nfs vlager:/home /users'' * ''cat /proc/filesystems'' -> ha de aparecer "nfs" == puesta en ... c 0 0 </code> * flags: * rw: Read/write filesystem. * ro: Read-only filesystem. Remote NFS clients can’t modify the filesystem. * hard: Applications using files stored on
- mount @linux:mount
- redentials=/home/mate/.smbpasslacie,dir_mode=0777,file_mode=0777 | 0 | 0 | info sobre credeciales y pro... solo lectura: * [[http://www.justlinux.com/nhf/Filesystems/Mounting_smbfs_Shares_Permanently.html|smb... ed.es/GNU-Linux/etcfstab.html]] === columnas * file system: Partición cuyo montaje se define en la lí... this%20section%20for%20more%20details.]] == /etc/filesystems Contiene la información de los sistemas de
- rsync @linux:rsync
- readable'' * ''%%--%%progress'' * ''%%--%%log-file'' * ''%%--%%files-from'' * no path absoluto * no **..** * relativo al directorio especificado: ''rsync -a %%--%%files-from=/tmp/foo /usr remote:/backup'' * [[http... ons/16647476/how-to-rsync-only-a-specific-list-of-files]] == --files-from * <code bash>rsync -av -n --