Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
Resultats de text complet:
- Los ficheros de inicio de Bash @linux:bash
- 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
- configuración rtorrent(on premise) @linux:debian:seedbox
- 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... ents/TorrentFiles/Auto - The 'autoload' directory for rtorrent to use. Place a file # in here, and rtor
- mis ficheros $HOME @linux:scripts
- 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
- brace expansion @linux:bash
- 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
- arrays bash @linux:bash
- 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... you can mass-expand individual indexes. The rules for quoting and the subscripts ''*'' and ''@'' are the same as above for the other mass-expansions. | </collapse> == meta
- configuración ssh server (/etc/ssh/sshd_config) @linux:ssh
- **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 AllowAgentForwarding no ForceComman
- vim @linux:vim
- [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
- comandos bash @linux:bash
- da el nombre del dominio y ofrece información en formato BIND * -x: inverso, se la la IP * nohup... de control * ''file'' -> intenta identifiar el formato del fichero (o programa del que procede). Fal... da el nombre del dominio y ofrece información en formato BIND * -x : inverso, te da la IP * ''ping'' como ''traceroute'': <code bash>for i in {1..30}; do ping -t $i -c 1 google.com; done
- instalación / configuración rutorrent (on premise) @linux:debian:seedbos
- .php<code> <?php // configuration parameters // for snoopy client @define('HTTP_USER_AGENT', 'Mozilla... rue, true); $httpIP = null; // IP string. Or null for any. @define('RPC_TIME_OUT', 5, true); // in se... rue); @define('LOG_RPC_FAULTS', true, true); // for php @define('PHP_USE_GZIP', false, true); @define... lable directory. Absolute path with trail slash. $forbidUserSettings = false; $scgi_port = 5000; $scg
- Linux sadservers @linux:seguridad
- l processes and see if you see something related, for example with: ps auxf. Ignore system processes [i... directory (program location) by doing pwdx PID or for more detail: lsof -p PID and check the cwd row. T... ing order) and get the latest one (with "tail -1" for example), or sort in reverse order with "sort -r"... rt). 2. (Solution to 1) cd /home/admin/ and then for example: grep -rc Alice *.txt or find . -type f -
- chroot (enjaulado) @linux:ssh
- n a per-user basis #Match User anoncvs # X11Forwarding no # AllowTcpForwarding no # ForceCommand cvs server AllowGroups ConexionSFTP Mat... ConexionSFTP ChrootDirectory /home/conexionesdftp ForceCommand internal-sftp </code> * http://debian... ftpusers ChrootDirectory /sftp/%u ForceCommand internal-sftp</code> * en este caso,
- Instal·lació Linux Server Ubuntu 20.04.3 @linux:install:server
- cpForwarding no # Disables port forwarding. X11Forwarding no # Disables remote GUI view. AllowAgentForwarding no # Disables the forwarding of the SSH login. MaxAuthTries 2 AllowUser... | sudo tee -a /etc/sysctl.conf </code> === IPv4 forward disable <code bash> # comprobar estat sysctl
- Estructuras de control y bucles @linux:bash
- est ] && echo VALUE_A || echo VALUE_B`</code> === for <code bash> for nombre [in lista] do comandos done </code> <code bash; example> LISTA="etc var home" for directorio in $LISTA do ls $directorio done </code> <code bash; example>for f in *; do echo $f; done</code> === while <code b
- find @linux:bash
- ente que -size 0c * booleanos * -not : ! en formato abreviado, escapado en bash * -and : -a en formato abreviado * -or : -o en formato abreviado * (...) : los paréntesis van escapados * , ... iciente que usar redirectores > o >> * -printf <formato><tar,\\n> * %p : nombre de fichero, inclu
- PS1 @linux:bash
- 31m\]" COLCLEAR="\[\033[0m\]" # export all these for subshells export -f parse_git_branch parse_git_st... H:%M:%S}\n\[$txtgreen\]\w\n" # User color: red for root, yellow for others if [[ $EUID == 0 ]]; then PS1+="\[$txtred\]" else PS1+="\[... )')\[$txtwhite\]" # Line 4: good old prompt, $ for user, # for root PS1+=" \\$ " } PROMPT_COMMAND