Skip to content

KNeeraj038/A-complete-linux-tool-for-AOSP-developer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AndroidLoggingTool-Linux

To make your script accessible from anywhere in Linux, you can add it to a directory listed in the PATH environment variable. Here's how you can do it:

  1. Choose a directory to store your custom scripts. For example, you can create a bin directory in your home folder. Open a terminal and run the following command to create the directory:
mkdir ~/bin
  1. Move your script to the bin directory. Assuming your script is named check_devices.sh and located in the current directory, run the following command:
mv <downloaded_folder>/A-complete-linux-tool-for-AOSP-developer ~/bin/
  1. Add the bin directory to your PATH environment variable. Open the .bashrc file in a text editor using the following command:
nano ~/.bashrc
  1. Add the following line at the end of the file:
export PATH="$HOME/bin/A-complete-linux-tool-for-AOSP-developer:$PATH"
. utils.sh
  1. Save the changes and exit the text editor (in Nano, press Ctrl+X, then Y, then Enter).

  2. To apply the changes immediately, run the following command in the terminal:

source ~/.bashrc
  1. Now, you should be able to run your script from anywhere by simply typing its name, like any other command. In this case, you can use the following command to execute your script:
nrj_start_log or va_help
  1. You can always use "va_help" to get help text.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages