Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- brace expansion @linux:bash
- expansion is used to generate arbitrary strings. The specified strings are used to generate **all possible combinations** with the optional surrounding preambles and postscripts. ... that follow a specific naming-scheme. :!: It is the very first step in expansion-handling, it's impor... that. When you use <code> echo {a,b}$PATH </code> then the brace expansion **does not expand the variab
- Linux sadservers @linux:seguridad
- processes [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.log. You can a
- vim @linux:vim
- name : Saves file as filename * ''.'' : Repeats the last change made in normal mode * ''5.'' : Repeats 5 times the last change made in normal mode ==Moving in the file * ''0'' : move the cursor to the begining of the line * ''G'' o ''$'' : move the cursor to th
- mis ficheros $HOME @linux:scripts
- prompt de color en 2 lineas if [ -f ".prompt" ]; then export PS1=`cat .prompt` fi if [ -f ".bashrc" ]; then source ~/.bashrc fi # variables de entorno ex... demonios restart() { if [ -f /etc/init.d/$1 ]; then /etc/init.d/$1 restart else echo "*** ... ll be updated when you upgrade # coreutils, using the contents of /etc/defaults/etc/DIR_COLORS. Feel #
- Los ficheros de inicio de Bash @linux:bash
- BLE} ; do if [ "$DIR" != "$1" ] ; then NEWPATH=${NEWPATH:+$NEWPATH:}$... LE:+${!PATHVARIABLE}:}$1" } if [ $EUID -eq 0 ] ; then unset HISTFILE fi # Define algunas vari... c/profile.d/*.sh ; do if [ -r $script ] ; then . $script fi done # Aho... <code bash># Setup for /bin/ls to support color, the alias is in /etc/bashrc. if [ -f "/etc/dircolors"
- arrays bash @linux:bash
- ag>linux bash pendiente wiki}} /via: [[http://www.thegeekstuff.com/2010/06/bash-array-tutorial/]] <cal... tax ^Description ^ | **${ARRAY[N]}** | Expands to the value of the index ''N'' in the **indexed** array ''ARRAY''. If ''N'' is a negative number, it's treated as the off
- configuración rtorrent(on premise) @linux:debian:seedbox
- rrent. Copy to # ~/.rtorrent.rc and enable/modify the options as needed. Remember to # uncomment the options you wish to enable. # # Based on original .rtor... Gui http://rtgui.googlecode.com/ # # This assumes the following directory structure: # # /Torrents/Down... ee "on_finished") # /Torrents/TorrentFiles/Auto - The 'autoload' directory for rtorrent to use. Place a
- linux udisks @linux:filesystem
- a filesystem-level UUID, which is retrieved from the filesystem metadata inside the partition. It can only be read if the filesystem type is known and readable. PARTUUID is a partition-table-level UUID for the partition, a standard feature for all partitions
- find - fd @linux:utils
- las =1 es en serie (modo por defecto) * <code>The terminal output of commands run from parallel thr... ver many files. An example of this is calculating the checksum of each individual file within a directo... ': A placeholder token that will be replaced with the path of the search result (documents/images/party.jpg). * ''{.}'': Like {}, but without the file ext
- ZSH zmv @linux:zsh
- de> * Something simpler (for basic commands) is the -W option<code bash> zmv -W '*.lis' '*.txt'</code... ne this with noglob, you don't even need to quote the arguments.<code bash>alias mmv='noglob zmv -W' mmv *.c.orig orig/*.c</code> === the code whisperer <code bash>zmv 'Page(*)/shot.jpg' ... th.many.dots.txt" by substituting dots (exept for the last # one!) with a space $ touch {1..20}-file.
- NFS @linux:tcpip
- -only filesystem. Remote NFS clients can’t modify the filesystem. * hard: Applications using files stored on an NFS will always wait if the server goes down. User cannot terminate the process unless the option intr is set. * soft: Applications using files stored on an NFS will wa
- 127.0.0.1 VS 127.0.1.1 @linux:dns
- s your machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS can be referenced. This mapping is kept in the ''/etc/hosts'' file. In the absence of a name server, any network program on your system consults this file to determine the IP address that corresponds to a host name. The
- Uncomplicated Firewall @linux:ufw
- 30 segundos (sospechas) * status: displays if the firewall is active or inactive * show: displays the current running rules on your firewall * reset: disables and resets the firewall to default * reload: reloads the current running firewall * disable: disables the fir
- PS1 @linux:bash
- e_git_branch { if we_are_in_git_work_tree then local BR=$(git rev-parse --symbolic-full-nam... f HEAD 2> /dev/null) if [ "$BR" == HEAD ] then local NM=$(git name-rev --name-only HEAD... v/null) if [ "$NM" != undefined ] then echo -n "@$NM" else git rev-parse --shor... e_git_status { if we_are_in_git_work_tree then local ST=$(git status --short 2> /dev/null)
- dpkg @linux:aptget
- ichero * E, –skip-same-version: Don’t install the package if the same version of the package is already installed. * G : Don’t install a package if a newer version of the same package is already installed. * B, –auto