Hello guys, I want to share my expirience with users who wants to learn basic scripting stuff, busybox commands, how to use them, how to execute them, how to make .sh files.
Ok, let's start!!! :D
First at all you need Terminal app, you can download it from playstore.
Link:Download it from here :)
This app emulates Linux terminal, with it you can access to android shell.

As you see here in a picture, this is main shell window.
Lets's start with learning basic terminal stuff
The most of shell commands doesn't need root access, but some of them are need it.
To give root access to the terminal app, you need to type next.
After pressing enter, another window will popup to grant root access. Tap on GRANT
See the pics


When you typing something into the terminal window, take care because EVERYTHING IS CASE SENSITIVE.
Let's going trough basic shell commands. :D :D :D
cat [file destination] - use this command to print everything from a file to the terminal window
Example:
Open terminal window, and type next:

After hitting enter, output will be something same like this

Now, you can see here, if you open any file manager and go to destination which was given for example "/proc/meminfo"
You will see next file and stuff inside it :)


Heheh, is it same?? ^~^ for sure that it is, you can use it for any file on your device which have text in it.
Ok, let's start!!! :D
First at all you need Terminal app, you can download it from playstore.
Link:Download it from here :)
This app emulates Linux terminal, with it you can access to android shell.
As you see here in a picture, this is main shell window.
Lets's start with learning basic terminal stuff
The most of shell commands doesn't need root access, but some of them are need it.
To give root access to the terminal app, you need to type next.
Code:
su (then press enter on keyboard)
See the pics
When you typing something into the terminal window, take care because EVERYTHING IS CASE SENSITIVE.
Let's going trough basic shell commands. :D :D :D
cat [file destination] - use this command to print everything from a file to the terminal window
Example:
Open terminal window, and type next:
Code:
cat /proc/meminfo (then press enter on keyboard)
After hitting enter, output will be something same like this
Now, you can see here, if you open any file manager and go to destination which was given for example "/proc/meminfo"
You will see next file and stuff inside it :)
Heheh, is it same?? ^~^ for sure that it is, you can use it for any file on your device which have text in it.