- Firstly,📝 Make sure that your terminal is located in home directory, (i.e /home/student), to cross-check your working directory, input the following command.
$ pwd
- 📁 Change directory to this :
$ cd /home/student
- Now, look for a folder named as 📁 "ns-allinone-3.33" in the home directory. (If you're comfortable with GUI, Hereon, execute the following command to open Ubuntu Finder (aka File Explorer)
$ nautilus .
- Once you launch the Finder, look for the folder 📁 "ns-allinone-3.33", click on this folder and look for folder named --> 📁 "ns-3.33".
- Thereon, you will find the folder named 📁 "scratch". cd into that folder and you're good to go for coding 👨🏻💻 .
- After completion 👍🏻 of coding, open terminal in the current directory and execute the following commands
$ cd ..
$ ls waf/
$ ./waf --run scratch/[your-program-name].cc
- The above 👆 sequence of steps as mentioned is intended for program execution on terminal only... 🙆♀️.
- Follow the sequence of steps..
$ cd home
$ cd netanim-3.33
- Right click and "open with terminal".
$ ls Netanim
- If your prompt delivers success, execute the following command. 👇
$ ./NetAnim
Warning : Make sure the above command keyword written in
PascalCase
Note : Keep track of current working directory by running
pwd
evrytime when you cd from root directory.
👉 Official Rep : Follow Here
👉 Resource Repo : Follow Here