This is the first time I heard about this stuff. After investigation, I found that this stuff is very good. It is especially applicable to Linux-based embedded systems with strict restrictions on disk space. in addition, this product has been used in many products, such as Nokia 770 and Motorola a780.
What is busybox? Directly reference the author: "busybox combines tiny versions of Common Unix utilities
Busybox Script Function, busybox Script Function
Busybox is run on openwrt, which is similar to the bash shell provided by the general linux release.
However, the syntax for the embedded system is a little different from that for the bash shell.
This document describes how to declare and call functions in a script.
(1) declare a function
Test () {echo
Reprinted from: http://www.cnblogs.com/xiaowenji/archive/2011/03/12/1982309.html
Have you ever had this experience? input ADB shell in the command line and then use the command to operate your mobile phone or simulator. However, these commands are common Linux commands, which are not easy to use. Have you ever thought about using a complete shell on Android? Use busybox. You can use terminal emulator either by connecting to the device using the ADB c
You can enter the android console in two ways:
1. Run the emulator-shell command directly;
2. After starting emulator, run the ADB shell command.
Then we can use some common Linux commands, such as LS and cat. However, the toolbox provided by Android (located in/system/bin) is too simple. Some commands such as find do not support Android or are not well supported. The following describes how to add the busybox tool to Android and compile a
The four busybox of the Linux system clipping notes1. What is cut?The main purpose of this article is to give the author and readers a deeper understanding of how the Linux system works, the general content is to take Linux apart from the components to assemble, and then complete a micro Linux system. Let's do it now. Please advise me where the writing is not good.2. PrincipleAs we all know, the operating system start-up process is (mainly Linux):P Os
Overview and use of busybox1. Overview of busybox
Busybox is a software that integrates more than one hundred common Linux commands and tools. It even integrates an HTTP server and a Telnet server, all these functions only have a size of about 1 MB. the Linux commands we usually use are like vertical electronic components, while busybox is like an integrated circ
1. What is busybox?
Busybox is a single executable implementation of many standard Linux tools. Busybox contains some simple tools, such as CAT and ECHO, and some larger and more complex tools, for example, grep, find, mount, and telnet (but it has fewer options than the traditional version); some refer to busybox as t
I wrote a blog titled adding busybox to Android. It provides four porting methods, but it is still not perfect.Post-processing cannot solve all problems at once. The above patch is provided below, that is, the ultimate solution of Android busybox,The procedure is as follows:Step 1: Cross-compile busyboxHere you choose busybox-1.19.0, of course you can use a later
Use busybox as a mini Linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. By cutebunny
1. Basic Knowledge
An operating system can be simply abstracted as a boot program + kernel + file system.
Vmlinuz is an image file of the Linux kernel. It can be loaded by the boot program to start the Linux system.
The full name of initrd is boot loader initialized RAM disk, which is the root file sys
Have you ever had this experience? input ADB shell in the command line and then use the command to operate your mobile phone or simulator. However, these commands are common Linux commands, which are not easy to use. Have you ever thought about using a complete shell on Android? Use busybox. You can use terminal emulator either by connecting to the device using the ADB command line or on your mobile phone.
1. What is
Have you ever had this experience? input ADB shell in the command line and then use the command to operate your mobile phone or simulator. However, these commands are common Linux commands, which are not easy to use. Have you ever thought about using a complete shell on Android? Use busybox. You can use terminal emulator either by connecting to the device using the ADB command line or on your mobile phone.
1. What is
Http://www.cnblogs.com/xiaowenji/archive/2011/03/12/1982309.htmlHave you ever had this experience, enter the ADB shell at the command line, and then use the command to manipulate your phone or simulator, but those commands are a shrinking version of the common Linux commands, which is very uncomfortable to use. Ever thought about using a more complete shell on Android? Use BusyBox. Whether using the ADB connection device using the command line or dire
1. Overview of busybox
Busybox is a software that integrates more than one hundred common Linux commands and tools. It even integrates an HTTP server and a Telnet server, all these functions only have a size of about 1 MB. the Linux commands we usually use are like vertical electronic components, while busybox is like an integrated circuit, which compresses the
Linux 3.10 busybox InitramfsBuildQemuDebugMy environment is a CentOS 7 64-bit system run by VM Ware virtual machine1: InstallationQemuFirst install SDL, responsible for QEMU running only after the VNC server running on ':: 1:5900 ', and does not appear Qemu Run the window, for specific reference:http://www.crifan.com/qemu_test_arm_vnc_server_running_on_127_0_0_1_5900_no_other_output/Yum install sdl.i686 sdl.x86_64 sdl-devel.i686 sdl-devel.x86_64Downlo
Have you ever had this experience, enter the ADB shell at the command line, and then use the command to manipulate your phone or simulator, but those commands are a shrinking version of the common Linux commands, which is very uncomfortable to use. Ever thought about using a more complete shell on Android? Use BusyBox. Whether using the ADB connection device using the command line or directly on the phone with terminal emulator is OK.First, what is
This paper is suitable for fs4412 Development Board, the kernel used is linux4.9.9.1. SOURCE DownloadBusyBox's official source download path is:http://busybox.net/downloads/Can download the latest busybox-1.28.12. Extract Source
Tar xvf busybox-1.28.1.tar.bz2
3. Access to the source directory
CD busybox-1.28.1
4. Configure BusyBoxBusyBox has already done a lot
1. busybox usage
You can use busybox
# Busybox ls
Function is equivalent to running the LS command
The most common method is to create a link pointing to busybox. Different link names are used to complete different functions.
# Ln-s busybox ls
# Ln-s
Article Title: Use Busybox for a small Linux operating system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Basic Knowledge
An operating system can be simply abstracted as a boot program Kernel File System.
Vmlinuz is an image file of the Linux kernel. It can be loaded by the boot program to start the Linux s
BusyBoxA binary program that simulates the implementation of many programs./bin/busyboxTo view native hardware device information:#cat/proc/cpuinfo#cat/proc/meminfo#lsusb Displays the USB interface information.#lspci displays all devices on the PCI bus.#hal-device displays detailed information for all hardware.Hardware abstract layer hardware abstraction.Compile BusyBox:#tar XF busybox.tar.bz2#cd BusyBox#ma
Busybox is a software toolbox that integrates hundreds of commonly used linux commands and tools in linux. In many cases, we may need to install some virtual systems, including some environment configurations, so we need to download some operating system images, such as ubuntu and centos.1. busybox image.First query the image:Docker search busybox[Root @ niaoyun4
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.