# I tried executing the code using the src method( terminal ), and It kept saying command not recognised

**URL:** https://forum.codewithmosh.com/t/i-tried-executing-the-code-using-the-src-method-terminal-and-it-kept-saying-command-not-recognised/2411
**Category:** Java
**Created:** [February 2, 2021, 3:44pm UTC](https://forum.codewithmosh.com/t/i-tried-executing-the-code-using-the-src-method-terminal-and-it-kept-saying-command-not-recognised/2411 "2021-02-02T15:44:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![achizmatic](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@achizmatic](https://forum.codewithmosh.com/u/achizmatic)
#### Post date: [February 2, 2021, 3:44pm UTC](https://forum.codewithmosh.com/t/i-tried-executing-the-code-using-the-src-method-terminal-and-it-kept-saying-command-not-recognised/2411/1 "2021-02-02T15:44:31Z")

</div>

I followed the steps exactly as shown in the tutorial, but it didn’t work.

---

<div class="post-metadata">

### Author: ![JerryC](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jerryc/32/859_2.png) [@JerryC](https://forum.codewithmosh.com/u/JerryC)
#### Post date: [April 7, 2021, 2:40am UTC](https://forum.codewithmosh.com/t/i-tried-executing-the-code-using-the-src-method-terminal-and-it-kept-saying-command-not-recognised/2411/2 "2021-04-07T02:40:34Z")

</div>

Hi!  
Please display the code that is not working.  
Then it will be easier for folks to help you.
