Get the App
SLTechnology News&Howtos  ›  Servers  › 

The solution to the error of root:is a directory in linux

Shulou Source: shulou.com Published: 2022-06-03 05:56:51 09月21日 Update

Error message:. / 123.sh: line 20:/root:is a directory

Error: / root:is a directory, then look for root from the script file, and find that there is no root in the script

Due to an extra ~, an error is reported.

The red "~" was brought when it was pasted.

Delete ~, solve

Tags: Scripts messages files times methods Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn NVidia Shulou Information Docker MySQL