Terminal Issues

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Terminal Issues

Chelsea
I typed everything in the terminal as stated ~/Desktop/tecs-software-suite-2.5/HardwareSimulator.sh & but then the computer says no file is found. I made sure the nand2tetris folder is installed on the desktop too! I have a mac
Reply | Threaded
Open this post in threaded view
|

Re: Terminal Issues

ybakos
Chelsea,
What is the name of the folder on the desktop?

What is the output of

ls ~/Desktop

Reply | Threaded
Open this post in threaded view
|

Re: Terminal Issues

Dong
same problem here.

the folder's name is "nand2tetris".

I even changed the name to "tecs-software-suite-2.5" but it still shows me that no file exist.

here's the output:

dong-macbook-pro:~ dong$ ~/Desktop/tecs-software-suite-2.5/HardwareSimulator.sh &
[1] 73566
dong-macbook-pro:~ dong$ -bash: /Users/dong/Desktop/tecs-software-suite-2.5/HardwareSimulator.sh: No such file or directory
Reply | Threaded
Open this post in threaded view
|

Re: Terminal Issues

marmfles
In reply to this post by Chelsea
Running  OS X 10.9.5, when i enter:

    HardwareSimulator.sh &

in the tools directory, I get:

    [1] 3190

    $ -bash: HardwareSimulator.sh: command not found

    [1]+ Exit 127                         HardwareSimulator.sh

Reply | Threaded
Open this post in threaded view
|

Re: Terminal Issues

ybakos
Where did you unzip the nand2tetris folder?

What is the output of the following command, when you type it in the terminal?

pwd

Reply | Threaded
Open this post in threaded view
|

Re: Terminal Issues

cadet1620
Administrator
In reply to this post by marmfles
Bash does not search the current directory for executables.  You need to type
    ./HardwareSimulator.sh &
or add '.' or your nand2tetris/tools directory to your PATH environment variable.

If you didn't already do so, you need to mark the script as executable:
    chmod +w HardwareSimulator.sh

Also, you might want to get these new scripts.

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: Terminal Issues

allensmith
This post was updated on .
In reply to this post by Chelsea
I am also facing the same issue. It was happening in windows 10. It is showing Windows 10 Preparing Automatic Repair Error. Please give me some suggestion.
Reply | Threaded
Open this post in threaded view
|

Re: Terminal Issues

WBahn
Administrator
The .sh files are shell scripts and are not for Windows. Use the .bat files instead.