перенастройте файл fstab с помощью UUID

Для этого в Bash есть команда builtin:

builtin: builtin [shell-builtin [arg...]]
Execute shell builtins.

Execute SHELL-BUILTIN with arguments ARGs without performing command
lookup.  

.

$ cat > hello.sh
echo hello
$ source() { echo x ; }
$ source hello.sh
x
$ builtin source hello.sh
hello

Однако ничто не мешает вам переопределить builtin.

Еще один способ обойти псевдонимы (, но не функции ), заключается в заключении в кавычки (части )слова:

$ alias source="echo x"
$ source hello.sh 
x hello.sh
$ \source hello.sh
hello
0
27.09.2017, 16:46
0 ответов

Теги

Похожие вопросы