Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Android Device ID Changer shell script Post 303038760 by Neo on Friday 13th of September 2019 12:19:01 AM
Old 09-13-2019
Quote:
Originally Posted by f4is4l
i'm really sorry for forum rules...
i'm new from here... And next time i will follow forum rules...
and Thank you for kindly cooperation...@Neo
No worries at all.

It's best for new users to read the forum rules before posting as the rules (well established) are not to make your life here harder; but to make everyone's life here easier.

Especially important is to search the forum before posting a question. Chances are your question has been answered as we approach 1 million posts over the years.

Second, forum your posts properly and do not just cut-and-paste into the forums without formatting using or code tags and icode tags.

Normally code tags are used for any code, sample input, output, error messages, log messages, files, etc.... all computer output. You can use icode tags for small fragments like a command name or file name in a sentence, because icode stands for "in-line code tags" which means "in a sentence"

Honestly, I need to both rewrite the rules and update the code tags video.

Welcome and take care.
This User Gave Thanks to Neo For This Post:
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Running a shell script on device mount

Something I have always wondered but never had any luck finding information on is running a shell script when a device mounts... Lets say I have an external hard drive as a back up, every time I plug the device in I want to launch a shell script to rsync a few directories. How would I do... (4 Replies)
Discussion started by: d3mcfadden
4 Replies

2. Android

Android Scripting Environment: Shell Scripting and Android

I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies

3. Shell Programming and Scripting

GPS-Tracker script [Android]

Hi UNIX-Forum! I don't know if this is the right Forum for my question, but since Android technically is a UNIX-based system... I have a rooted Android and a Terminal emulator and bash installed. I wanted to write a little script for my android that activates GPS, gets the location and sends... (3 Replies)
Discussion started by: al0x
3 Replies

4. Solaris

Medium Changer not detected.

Hello Gurus, We are in the process of configuring SAN based backup for our DB hosted on Solaris 10 (SPARC and X86) Servers. But the Robotic arm (Medium Changer - HP) is not getting detected on the server. Need experts help in checking this from the host (Solaris Server) end. Thank You. (0 Replies)
Discussion started by: EmbedUX
0 Replies

5. Shell Programming and Scripting

Help with Backup Shell Script for Network Device Configuration backup

HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here Im explaining the requirement of script. AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies

6. Android

Device Names on Android

Hi, I have a program that logs serial port data. In order to do so it requires the full device name in linux (e.g. /dev/ttyUSB0) and a baudrate. Does anyone know how I can find out the device name in the terminal? I am trying to port this application to Android and cant figure it out. ... (22 Replies)
Discussion started by: fedora18
22 Replies

7. Android

Running only the Linux kernel of an Android device

I am looking for a way to run on top of the Linux kernel of an Android device. I want to use the existing configured Linux beneath Android rather than put a new Linux distribution onto a device. The article "The Android boot process from power on" (sorry, forum won't let me paste the link)... (0 Replies)
Discussion started by: raoulney
0 Replies

8. Android

Problem with torrents and bash script on Android

Please disregard this post (0 Replies)
Discussion started by: johnnybopper
0 Replies
ATF-SH(1)						    BSD General Commands Manual 						 ATF-SH(1)

NAME
atf-sh [-s shell] -- interpreter for shell-based test programs SYNOPSIS
atf-sh script DESCRIPTION
atf-sh is an interpreter that runs the test program given in script after loading the atf-sh(3) library. atf-sh is not a real interpreter though: it is just a wrapper around the system-wide shell defined by ATF_SHELL. atf-sh executes the inter- preter, loads the atf-sh(3) library and then runs the script. You must consider atf-sh to be a POSIX shell by default and thus should not use any non-standard extensions. The following options are available: -s shell Specifies the shell to use instead of the value provided by ATF_SHELL. ENVIRONMENT
ATF_LIBEXECDIR Overrides the builtin directory where atf-sh is located. Should not be overridden other than for testing purposes. ATF_PKGDATADIR Overrides the builtin directory where libatf-sh.subr is located. Should not be overridden other than for testing purposes. ATF_SHELL Path to the system shell to be used in the generated scripts. Scripts must not rely on this variable being set to select a specific interpreter. EXAMPLES
Scripts using atf-sh(3) should start with: #! /usr/bin/env atf-sh Alternatively, if you want to explicitly choose a shell interpreter, you cannot rely on env(1) to find atf-sh. Instead, you have to hardcode the path to atf-sh in the script and then use the -s option afterwards as a single parameter: #! /path/to/bin/atf-sh -s/bin/bash ENVIRONMENT
ATF_SHELL Path to the system shell to be used in the generated scripts. SEE ALSO
atf-sh(3) BSD
September 27, 2014 BSD
All times are GMT -4. The time now is 01:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy