我已经完成了以下步骤
1. gedit ~/.bashrc
2.添加
# Add the Android Studio /bin directory to PATH
export PATH=$PATH:~/opt/android-studio/bin
3。source ~/.bashrc
重新启动笔记本电脑并尝试使用
user@user:~$ sudo ./ studio.sh
[sudo] password for user:
sudo: ./: command not found
user@user:~$ ./studio.sh
bash: ./studio.sh: No such file or directory
user@user:~$ studio.sh
studio.sh: command not found
user@user:~$ sh studio.sh
sh: 0: Can't open studio.sh
请告诉我正确的方法。
答案 0 :(得分:0)
您可能想尝试mpirun main_command & sleep 1m && second_command
,然后使用命令ln -sf /opt/android-studio/bin/studio.sh ~/.local/bin/android-studio
启动?