Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
Удаленная работа для IT-специалистов
x=$(echo {A..C}-{000..002}) # A-000 A-001 A-002 B-000 B-001 B-002 C-000 C-001 C-002
-d file True if file exists and is a directory.
tar -cvzf $ARCHIV_DIR/$ARCHIV_DATA.tar.gz -C /srv/lib/elasticsearch/nodes/0/indices/ -- $INDICES
$ tar cvf 1 -- x y -wow x/ x/1.txt y/ y/1.txt -wow/ -wow/1.txt
$ tar cvf 1 x y -wow add ‘x’?^C
$res
res=$(( $a + $b ))
find -type f -execdir sh -c "file -i {} | grep -qs charset=iso-8859-1" \; -print
ls -l --time-style=+%F
# if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi