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-arguments for a command, that follow a specific naming-scheme. :!: It is... p in expansion-handling, it's important to understand that. When you use <code> echo {a,b}$PATH </code> then the brace expansion **does not expand the variable** - this is done in a **later step**
- 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... es [in brackets]. A better way is to use the command to list open 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
- 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
- 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=... evaluated before any rules added via the ufw command * /**etc/ufw/after[6].rules**: rules in these f... e evaluated after any rules added via the ufw command * **/etc/ufw/sysctl.conf**: kernel network tuna
- Los ficheros de inicio de Bash @linux:bash
- ariable normal, PS1, se suplementa con PROMPT_COMMAND. Si está establecido, el valor de PROMPT_COMMAND se ejecuta como comando antes de mostrar cada símbolo... he substring match ensures this works for "xterm" and "xterm-xfree86". if [ "${TERM:0:5}" = "xterm" ]; then PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME} : ${PWD}\00
- 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, arithmetic expansion, or pathname expansion is performed on
- 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 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
- 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
- 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
- alias @linux:bash
- ció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' </co... vación (temporal) <code bash> ## path/to/full/command /usr/bin/clear ## call alias with a backslash ## \c ## use /bin/ls command and avoid ls alias ## command ls </code> == elim
- arrays bash @linux:bash
- all elements. If unquoted, both subscripts ''*'' and ''@'' expand to the same result, if quoted, ''@'' expands to all elements individually quoted, ''*'' e... ting with element ''N''. This way you can mass-expand individual indexes. The rules for quoting and the subscripts ''*'' and ''@'' are the same as above for
- 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
- 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