Jump to content

[Tutorial] How to run nic.pl (New Instance Creator) by just typing "nic" in Terminal


Rook

13 posts in this topic

Recommended Posts

Updated

How to run Theos' NIC (New Instance Creator) with a shortcut

 

Hello everyone!

 

It's @DiDA again with another tutorial for the lazy people. :p

 

This tutorial will be a simple one showing you how to run /var/theos/bin/nic.pl without having to type in the full directory of it all the time. You can set any piece of text for the New Instance Creator to run. For this tutorial and for myself, I will be using "nic" as the command to run the New Instance Creator.

 

Step 1: Using iFile or Filza, go to /usr/bin and create a new Regular File and name it nic. Leave permissions untouched.

qgvkstCl.png

 

 

 

Step 2: Open the nic file you just created using iFile's or Filza's text editor and add these lines to it:

#!/bin/bash

/var/theos/bin/nic.pl
Note: If your theos is installed on a different directory you will need to add it to the line above.

 

ZzPZ57zl.png

 

 

Step 3: Save the file and open a Terminal window and type in "nic" (without quotation marks).

Wl3NVBq.png

 

 

 

Done!

 

You can use this to launch multiple things with just one command also and much more!

Posted

Wow thanks! I'll say I do get lazy from typing all those words to run NIC, this will help. :)

It sure will! :)

 

Enjoy! :)

Posted

So you just have to type in nic? :thinking:

Yes. Or you can rename the nic file to anything else and you'll have to type in what you renamed it to. :)

Posted

Yes. Or you can rename the nic file to anything else and you'll have to type in what you renamed it to. :)

I'll just name it to Curry :yes:

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines