Skip to content
Guest Big Announcement

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

Featured Replies

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!

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

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:

done this for years, very useful :) also mp for 'make package install', bi for dida knows ;)

Archived

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

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.