Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- brace expansion @linux:bash
- nations** with the optional surrounding preambles and postscripts. Usually it's used to generate mass-... must still be careful to control the values of $a and $b. Both the exact quoting, and explicitly including "-a" are important. The brace expansion is present in two basic forms, **string lists** and **ranges**. It can be switched on and off under
- Linux sadservers @linux:seguridad
- ID <code> 1. You can use ps to list all processes and see if you see something related, for example wit... pen files: lsof. 2. Find the name (first column) and Process ID (PID, second column) of the process related to /var/log/bad.log by running lsof and filtering the rows to the one(s) containing bad.l... ser /var/log/bad.log. 3. Run: lsof |grep bad.log and get the PID (second column)."Saint John": what is
- mis ficheros $HOME @linux:scripts
- 9-2008 # Free Software Foundation, Inc. # Copying and distribution of this file, with or without modifi... on, # are permitted provided the copyright notice and this notice are preserved. # The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the # slackware version of d... STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) OTHER_WRITABLE 34;42 # di
- configuración rtorrent(on premise) @linux:debian:seedbox
- ource file for rTorrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to ... tory for rtorrent to use. Place a file # in here, and rtorrent loads it #automatically. (see "schedule ... toring rtorrent session information # # Maximum and minimum number of peers to connect to per torrent... s per torrent. max_uploads = 50 # Global upload and download rate in KiB. "0" for unlimited. download
- heredoc (docs emblebed) @linux:bash
- us of backup as on $(date) Backing up files $HOME and /etc/ EOF echo "Starting backup using rsync..."... of backup as on $(date) Backing up files $HOME and /etc/ EOF echo "Starting backup using rsync..."... > #!/bin/bash OUT=/tmp/output.txt # No parameter and variable expansion, command substitution, arithme... ter is the result of quote removal on word, and the lines in the here-document # are not expande
- Uncomplicated Firewall @linux:ufw
- ning rules on your firewall * reset: disables and resets the firewall to default * reload: relo... iguration, such as default policies, IPv6 support and kernel modules to use * ''sudo sed -i s/IPV6=... er[6].rules** or **/lib/ufw/user[6].rules** (0.28 and later): rules added via the ufw command (should n... nf**: sets whether or not ufw is enabled on boot, and in 9.04 (ufw 0.27) and later, sets the LOGLEVEL
- rtorrent+rutorrent en contenedor (OLD1) @linux:debiean:seebox:rtorrent_rutorrent
- rally, you will want to move this file somewhere, and start with a clean # file but keep this around fo... t-rutorrent/) ## notas de run - Web UI ports: 80 and 443 (can be remapped in 'docker run') - DHT UDP p... atically): /downloads/.rutorrent - external nginx and rtorrent logs: /downloads/.log/ - rtorrent uid and gid: USR_ID and GRP_ID env vars, default is 1000:10
- Special Shell Variables & Parameter Substitution and Expansion @linux:bash
- Special Shell Variables & Parameter Substitution and Expansion {{tag>linux}}{{tag>bash}} **$** es util... cripting/posparams]] == Parameter substitution and Expansion ^ expresión ^ Sign... ki>${PARAMETER%%PATTERN}</nowiki>'' * [[#search_and_replace | Search and replace]] * ''${PARAMETER/PATTERN/STRING}'' * ''<nowiki>${PARAMETER//PATT
- Zona Horaria @linux:bash
- a la zona horaria de interés: ''export TZ=Europe/Andorra'' * [[https://superuser.com/questions/18822... fichero correcto en ''/usr/share/zoneinfo/Europe/Andorra'' - añadir el fichero ''/etc/timezone'' con el contenido de TZ, por ejemplo: **Europe/Androrra** /via: [[https://linuxacademy.com/blog/linu... cloud.geek.nz/posts/time-synchronization-with-ntp-and-systemd/]] * [[https://echaleunvistazo.wordpres
- vim @linux:vim
- '%%:x%%'' : Write file (if changes has been made) and exit * '':sav'' filename : Saves file as filena... se/g'' : Search something in all the open buffers and replace it with somethingelse ==Replace * coma... /new/g'' : Replace all occurences between lines 2 and 35 * '':5,$s/old/new/g'' : Replace all occure... egrated file explorer * '':Sex'' : Split window and open integrated file explorer * '':Sex!'' : Sam
- configuración/uso screen @linux:debian:seedbox
- www.howtogeek.com/671422/how-to-use-tmux-on-linux-and-why-its-better-than-screen/]] == comando * ''s... onfiguración en ''~/.screenrc'' <code> # Bind F11 and F12 (NOT F1 and F2) to previous and next screen window #bindkey -k F1 prev #bindkey -k F2 next # Also for ctrl-alt ri
- Los ficheros de inicio de Bash @linux:bash
- he substring match ensures this works for "xterm" and "xterm-xfree86". if [ "${TERM:0:5}" = "xterm" ]; ... le.d/xterm-titlebars.sh fi # System wide aliases and functions. # System wide environment variables and startup programs should go into # /etc/profile. Personal environment variables and startup programs # should go into ~/.bash_profile
- linux udisks @linux:filesystem
- can only be read if the filesystem type is known and readable. PARTUUID is a partition-table-level UU... ature on MBR-partitioned disks but with more bits and a standardized procedure for its generation. On ... -bit disk signature is used in place of a PTUUID, and PARTUUIDs are created by adding a dash and a two-digit partition number to the end of the disk signatu
- NFS @linux:tcpip
- (using the timeo option) if the server goes down, and after that, will throw an error. * intr: Al... e read block data size. Defaults to 8192 on NFSv2 and NFSv3, and 32768 on NFSv4. * wsize=<num>: Sets the write block data size. Defaults to 8192 on NFSv2 and NFSv3, and 32768 on NFSv4. == /etc/exports <code
- ZSH zmv @linux:zsh
- s are # / : ; * ? " < > | # NOTE: ``-Q'' and (D) is to include hidden files. $ unwanted='[:;... eplace all 4th character, which is "1", with "2" and so on $ autoload -U zmv $ zmv '(???)1(???[1-4... "$Dir/$newname"' {} {} \; # Clean up file names and remove special characters $ autoload zmv $ zm... cripts in a directory (some of them end # in *.py and give them all a proper extension $ autoload zmv