我想在ubuntu下使用终端运行一个程序。我使用以下命令安装了csh:
sudo apt-get install csh
并且已成功安装,输出为:
Reading package lists... Done
Building dependency tree
Reading state information... Done
csh is already the newest version (20110502-2.1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 230 not upgraded.
当我编写以下命令时,它没有工作:
shaimaa@ubuntu:~/MT_inv/bin$ #!/bin/csh -f
shaimaa@ubuntu:~/MT_inv/bin$ sudo MT_inversion.csh SS SS TEST
sudo: MT_inversion.csh: command not found
如何运行程序或让终端定义/找到命令?