DIR
local PATHVARIABLE=${2:-PATH}
for DIR in ${!PATHVARIABLE} ; do
if [... rt PS1="[\u@\h \w]\\$ "
export PS1='\u@\h:\w\$ '
for script in /etc/profile.d/*.sh ; do
if [ -... zada de cosas como ls --color. <code bash># Setup for /bin/ls to support color, the alias is in /etc/ba... 0 ]; then
pathprepend /usr/local/sbin
fi
for directory in $(find /opt/*/lib/pkgconfig -type d
**Protocol 2**
* **PermitRootLogin** {yes|no|forced-commands-only}
* **PasswordAuthentication** {yes|no}: uso o no de contraseña (forzar uso de keys)
* **IgnoreRhosts** {yes|no} e... only implementation]]
== restricciones
=== agent forwarding
<code ; /etc/ssh/sshd_config>
Match User that-restricted-guy
AllowTcpForwarding yes
X11Forwarding no
AllowAgentForward
r:
* ''<del>svn co https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/stable xmlrpc</del>''
... e rtorrent.rc>
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/mod... /libtorrent.rakshasa.no/
# Modified by Lemonberry for rtGui http://rtgui.googlecode.com/
#
# This assum... :
#
# /Torrents/Downloading - temporaray location for torrents while downloading (see "directory")
# /T
h_profile>
# ~/.bash_profile: executed by bash(1) for login shells.
# quita el permiso de excritura al... de bash .bashrc>
# ~/.bashrc: executed by bash(1) for non-login shells.
source ~/.alias
# funciones in... at which point coreutils will leave it alone.
#
# For this file to be useful, you will need a line like... s -b /path/to/DIR_COLORS`"
#
# Configuration file for dircolors, a utility to help you set the
# LS_COL
ts.
Usually it's used to generate mass-arguments for a command, that follow a specific naming-scheme.
... ommandline twice: <code>eval echo {$a..$b}</code> For instance, when embedded inside a for loop : <code>for i in $(eval echo {$a..$b})</code> This requires that the entire command be properly e
nslookup. Se da el nombre del dominio y ofrece información en formato BIND
* -x: inverso, se la la IP
* nohup : Mantiene la ejecución de un comando p... uanto de profundo baja en el árbol para mostrar información detallada
* --one-file-system : o -x, muestra información solo del mismo filesystem (evita otros file
nitorizacion-de-rendimiento/|esta página]]. (la información contenida en esta sección es practicamente ... servidor y poder detectar sobrecargas. Permite información en tiempo real y permite guardar la información en logs para ir consultando.
Las utilidades q... emoria....
* **sar**: encargado de recolectar información y guardarla.
* **sadc**: backend de sar
ay-tutorial/]]
<callout type="info" title="más información de interés (arrays indirection)" icon="true... 20675</callout>
<callout type="info" title="más información de interés (arrays asociativos)" icon="true... et from the maximum assigned index (can't be used for assignment) - 1 |
| **${ARRAY[S]}** | Expands to... RRAY[*]:N:M}** | Similar to what this syntax does for the characters of a single string when doing [[sy
[https://www.catswhocode.com/blog/vim-cheat-sheet-for-2016]]\\
<del>/vía:[[http://www.catswhocode.com/b... = more Basics
* '':e'' filename : Open filename for edition
* '':w'' : Save file
* '':q'' : Exit ... curences of old by new in file
* '':%s/onward/forward/gi'' : Replace onward by forward, case unsensitive
* '':%s/old/new/gc'' : Replace all occurenc
# Disables protocol 1
AllowTcpForwarding no # Disables port forwarding.
X11Forwarding no # Disables remote GUI view.
AllowAgentForwarding no # Disables the forwardi
lk'': dispositivos conectados
* **-a**: más información (incluido major:minor)
* **-d**: no muestra información de los "esclavos" o //holder devices// (par... iones de árbol (mejor copy&paste)
* **-m**: información del owner, grupo y modo
* **-o**: selec... s de bloque
* ''ls -la /sys/dev/block/7:0/'': información del dispositivo, como filesystem
* **/s
em]]
== info del sistema
comandos para obtener información del sistema (versiones de SO o de GUI), alg... la salida por razones de seguridad, no mostrar información sensible
* n : Advanced Network card information
* s : información sensores
* x
* d : Información unidades ópticas
* p : full partition i
n a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server
AllowGroups ConexionSFTP
Match group ConexionSFTP
ChrootDirectory /home/conexionesdftp
ForceCommand internal-sftp
</code>
* http://debian