Posts

Showing posts with the label termux

Change the font color of termux without any additional tools using the .bashrc file

Image
The .bashrc file is a shell script file, generally used as a user-specific configuration file for the BASH (Bourne Again SHell) shell. It is located in a user's home directory, and will be executed when that user logs into bash. The script written in this file is automatically executed every times new shell terminal is opened (every time you open the terminal). We can use it to execute certain commands in every time we open the terminal (color changes, calling of tools or scripts that we want to use). Example of bash script for .bashrc files For this step we need to open the .bashrc and put your code in it using text editor like nano vim... or any other text editor. after open .bashrc file past this code : PS1='\033[01;31m\h\033[01;34m \W \$\033[00m \033[1;93m ' Open .bashrc file  with nano In termux  PS1 - variable that display in the beginning of every command line and controls the appearance of every character you type. in our example it is the respo...

Cool package must have in termux

Image
Those are Some interesting tools that can be installed simply from the default package manager. w3m w3m is an open-source text-based web browser let you browse web page from your terminal . www.wikipedia.org in w3m This tool could not give you the complete experience that you get from your normal browser (chrom, opera...) but it will help you understand a little bit the elements of the web pages. www.google.com in w3m installe it using this command : apt install w3m Usage : w3m -option URL [Control + z] to exit cmatrix This simple, easy tool inspired from the famous movie "Matrix " it will make your terminal looks the same as the one in the film. Install it using this command : apt install cmatrix Usage : cmatrix - option cmatrix help menu  You can close it with [control + c ] nano Nano is a powerful text editor used to open, edit, save files in many format.  Install it using this command : apt install nano nano help menu ...

Linux command you need to know

Image
Some Linux command that you can use it in termux emulater this command can be used for every Linux distribution. cd command Cd [directory name] use this command to move from local directory to next/previous directory For examples : if you are in a directory called "local _directory" contain  other directories one of them named "next_directory", to move from "local_directory " to " next_directory" just type : cd next_directory then hit enter, if next_directory contain an other directory jus type cd directory_name , in case you want to return to previous folder in this case you don't have to know the name of the file just type cd ..  (cd space then 2 point) then hit enter. Linux command are very sensitive when it came to the syntaxe, you must be careful in spelling of every letter you write and specially big and small one for example "Cd" is not the same as "cd" and not the same as "CD", otherwise you will have e...