$IFS
.IFS=$'\n'
for addr in $(cat filename); do
IFS=' '
telnet $addr
done
Word Splitting
The shell scans the results of parameter expansion, command substitution, and arithmetic expansion that did not occur within double quotes for word splitting.
The shell treats each character of IFS as a delimiter, and splits the results of the other expansions into words using these characters as field terminators. If IFS is unset, or its value is exactly , the default, then sequences of , , and at the beginning and end of the results of the previous expansions are ignored, and any sequence of IFS characters not at the beginning or end serves to delimit words. If IFS has a value other than the default, then sequences of the whitespace characters space, tab, and newline are ignored at the beginning and end of the word, as long as the whitespace character is in the value of IFS (an IFS whitespace character). Any character in IFS that is not IFS whitespace, along with any adjacent IFS whitespace characters, delimits a field. A sequence of IFS whitespace characters is also treated as a delimiter. If the value of IFS is null, no word splitting occurs.
Explicit null arguments ("" or '') are retained and passed to commands as empty strings. Unquoted implicit null arguments, resulting from the expansion of parameters that have no values, are removed. If a parameter with no value is expanded within double quotes, a null argument results and is retained and passed to a command as an empty string. When a quoted null argument appears as part of a word whose expansion is non-null, the null argument is removed. That is, the word -d'' becomes -d after word splitting and null argument removal.
Note that if no expansion occurs, no splitting is performed.
$Conf{TopDir}
. Подробнее смотрите в документации. Данный параметр относится к общей конфигурации сервера и его нельзя переопределить для конкретного хоста через host.pl. zfs (пока планирую использовать его, озу добавлю, ecc есть) или чем-то еще со встроенной дедупликацией
организовать на одном диске зеркальный массив для ценной информации плюс все остальное место для всякого мусора в raid0.
zpool create mirroring-pool mirror sda1 sdb1
zpool create striping-pool sda2 sdb2
Черевато ли такая разметка диска чем-то еще?
The time and date fields are:
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sunday, or use names)
A field may contain an asterisk (*), which always stands for "first-last".
#min hour day mon dow command
0 18 * * 6 ghettoVCB.sh
NAME
groups - print the groups a user is in
SYNOPSIS
groups [OPTION]... [USERNAME]...
DESCRIPTION
Print group memberships for each USERNAME or, if no USERNAME is specified,
for the current process (which may differ if the groups database has changed).
‘example’: no such user
groupmems -g $GROUP -l
.