Yo, now I'll learn how to find files / text in files. It goes very fast in many linux distros.
Faster than windows? ofc!!!
Warning:
Misuse of these commands, makes it search too many files.
If your search wont stop, press ctrl+c to close script (works for programs too)
First get inside OTSERV data folder with terminal
Then:
find file:
(will return all files that starts with fire and ends with lua)
find itemid of an item:
(will return all items starting with 2120 inside of items.xml)
find health of a monster:
(will return health now and max of rat.xml)
(asterisk * means "any" in linux)
Possibilities are endless !!!!
Good luck.
Faster than windows? ofc!!!
Warning:
Misuse of these commands, makes it search too many files.
If your search wont stop, press ctrl+c to close script (works for programs too)
First get inside OTSERV data folder with terminal
Then:
find file:
Code:
find -name fire*.lua
find itemid of an item:
Code:
grep 2120 */items.xml
find health of a monster:
Code:
grep "health now" */*/rat.xml
(asterisk * means "any" in linux)
Possibilities are endless !!!!
Good luck.
Last edited: