Код: Выделить всё
alias pbcopy='xsel --clipboard --input'
Код: Выделить всё
#!/bin/bash
readlink -f myfile | pbcopy
Код: Выделить всё
./one_script.sh: line 3: pbcopy: command not found
Подробнее здесь: https://stackoverflow.com/questions/792 ... the-script
Мобильная версия