|
|||||||
Подстановка $
Время создания: 19.04.2017 18:29
Раздел: Linux - Работа с программами
Запись: xintrea/mytetra_db_mcold/master/base/14926157869bm8oisxrd/text.html на raw.githubusercontent.com
|
|||||||
|
|||||||
## Подстановка $ ```sh [me@linuxbox ~]$ echo $USER me [me@linuxbox ~]$ echo $(ls) Desktop Documents ls-output.txt Music Pictures Public Templates Videos ``` ### Конвейер ```sh file $(ls /usr/bin/* | grep zip) /usr/bin/bunzip2: symbolic link to `bzip2' /usr/bin/bzip2: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV ), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped /usr/bin/bzip2recover: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped /usr/bin/funzip: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped ``` |
|||||||
Так же в этом разделе:
|
|||||||
|
|||||||
|