1. Ubuntu Configuration Environment anroid variable:
Execute sudo gedit/etc/profile at the terminal to open the text editor, and at the end append #set android Environment
2. Running eclipse, you also need to configure Java environment variables
#set Java Environment
JAVA_HOME=/HOME/LOGINNAME/JDK Directory Name
JRE_HOME=/HOME/LOGINNAME/JDK Directory name/jre
Export path= $JAVA _home/bin: $JRE _home/bin: $PA
drive is not possible, so be sure to boot from the disc.) ) Recommended Index * * *Method Two:Launch Terminal (in the Applications/Utilities folder) in Mac OS X and enter the following command:sudo passwd RootYou will be asked to enter the Root user's new password in real time and then enter it again to ensure that the password is correct. Suggested Index * * * *Method Three:Start the NetInfo Manager application (in the Applications/Utilities folder)
IOS development diary 9-terminal commands, ios diary 9-Terminal
Today, bloggers have some terminal usage requirements and encountered some difficulties. I would like to share with you the hope to make common progress.
OSX uses Unix file systems. All files are mounted under the directory "/". Therefore, the concept of d
/595c5b23b344a.jpg "style=" padding:0px; list-style:none;vertical-align:middle;height:auto;border:0px; "/>PS: Seven licensees with copyright in the Company1. CCTV International--CNTV (CCTV as the main application)2. Hangzhou number of Chinese (Zhejiang, Hangzhou TV Joint application)3. Shanghai SMG--Hundred Vision Tong (Shanghai TV station is the main application)4. Southern Media (Guangdong TV station is the main applicant)5. Hunan TV station6. China
Android BLE development-Android mobile phone and BLE terminal first recognized, androidble
Bluetooth BLE official Demo: http://download.csdn.net/detail/lqw770737185/8116019Refer to blog address: http://www.eoeandroid.com/thread-563868-1-1.html? _ Dsign = 843d16d6
Device: One MX5 mobile phone and one pesticide residue detector (BLE
Commonly used terminal commands in ubuntu
Lsusb query the usb device id by adding 0x ***** (numbers 0 and letters x) to the home directory/. android/adb_usb.ini File)
Adb devices displays all currently running Simulators
Adb reboot restart adb reboot-p Shutdown
Adb install-r application .apk install the application (-r re-install the program to save data;-s is i
a spelling error in the command, and the "intall" should be replaced with "install" for normal execution.Imagine now that the cursor is at the end of the line, we have many ways to return her to the word install and replace it.I can press two times alt+b so the cursor will be in the following position (where the cursor is used to refer to).
sudo apt-get^intall programname
Now you can double-click the arrow keys and insert "s" into the install.If you want to copy the text from the
.
I can press two times alt+b so the cursor will be in the following position (where the cursor is referred to).
sudo apt-get^intall programname
Now you can press the arrow keys and insert "s" into the install.
If you want to copy the text from the browser to the terminal, you can use the shortcut key "SHIFT + Insert".
2. SUDO!!
If you do not know this command, I think you should thank me, because if you do not know, then every time you enter a
current directory, and the following command searches for "really":
ls | grep really
Wildcard charactersThe asterisk "*" is a wildcard that can match anything. For example, if we want to delete "really long file name" and "really very long file name" from the current directory, we can use the following command:
RM Really*name
This command removes all files that begin with really and end with name. If you use the "rm *" command, all files in that directory will be del
have many ways to return her to the word install and replace it. I can press two times alt+b so the cursor will be in the following position (where the cursor is used to refer to).sudo apt-get install ProgramNameNow you can double-click the arrow keys and insert "s" into the install. If you want to copy the text from the browser to the terminal, you can use the shortcut "SHIFT + Insert".2. SUDO!sudo this command permission delegation, in the environm
many ways to return her to the word install and replace it.I can press two times alt+b so the cursor will be in the following position (where the cursor is used to refer to).sudo apt-get install ProgramNameNow you can double-click the arrow keys and insert "s" into the install. If you want to copy the text from the browser to the terminal, you can use the shortcut "SHIFT + Insert".2. SUDO!sudo this command permission delegation, in the environment of
can press two times alt+b so the cursor will be in the following position (where the cursor is used to refer to).sudo apt-get^intall programnameNow you can double-click the arrow keys and insert "s" into the install.If you want to copy the text from the browser to the terminal, you can use the shortcut "SHIFT + Insert".2. SUDO!!If you do not know this command, I think you should thank me, because if you do not know, every time you enter a long
can press two times alt+b so the cursor will be in the following position (where the cursor is used to refer to).sudo apt-get^intall programname Now you can double-click the arrow keys and insert "s" into the install.If you want to copy the text from the browser to the terminal, you can use the shortcut "SHIFT + Insert".2. SUDO!!If you do not know this command, I think you should thank me, because if you do not know, every time you enter a long
40 useful Mac OS X Shell scripts and terminal commands
There are a bunch of terminal commands under Mac OS x. I have classified these commands in a simple way. Many commands here are equally effective in other systems (Windows and
1. Command line daily shortcut keysThe following shortcuts are very useful and can greatly improve your productivity:
CTRL + U The content before the cursor is clipped
CTRL + K – to cut the cursor to the end of the line
CTRL + y – Paste
CTRL + e – Move cursor to end of line
CTRL + A – moves the cursor to the beginning of the line
ALT + F – jumps down a space
ALT + b – jumps back to the previous space
ALT + backspace– Delete the previous word
CTRL + W – cu
/library/extensions. mkextParameter-RF indicates recursion and force. Be careful when using this parameter. If you run "RM-RF/", your system will be completely gone.
Change file permissions ---- chmodFor example, set all files in the driver directory to root for read and write, while other users are read-only.Chmod-r 755/system/library/extensionsThe R parameter indicates recursion, and 755 indicates the permissions of each user.
Script File Name---- ShFor example, after the driver is modified, a
Skills on five Linux terminal commandsGuideI personally use iron powder from the Gospel warriors of the new century. Therefore, I reference a line: "People are afraid of darkness, so they try to portray the outline of the flame ." For many new Linux users, the gloomy screen on the terminal is also dark-so people desperately use the GUI to replace it.
Although the graphical user interface represents the frie
with a letter# $/2t-entire directory structure including Hidden one# $2t-only Sub Dirs inside including Hidden one# $ *2t-only Sub Dirs inside without Hidden oneShow all the directories# $ ~2t-all Present Users on the system from "/etc/passwd"Show all the Users# $ $2t-all Sys variablesShow all system variables# $ @2t-entries from "/etc/hosts"# $ =2t-output like ls or dirListing directory filesThe following is a list of shortcut keys on the webOpen Ma
Tab
A very useful feature. If there is only one option, the command or file name is automatically complete, otherwise a list of all options is given.
Ctrl+r
Search for the commands you have entered. When you have entered a very long and complex command and want to repeat it, use this key combination, and then enter a part of th
to recover, enter in the terminal$defaults Write Nsglobaldomain Appledisplayscalefactor 110. Change the landing backgroundEnter in the terminal$defaults Write/library/preferences/com.apple.loginwindow desktoppicture "/library/desktop%20pictures/nature/ Aurora.jpg "Inside the quotation marks is the picture pathUse of "three" FinkAlmost all of Fink's files are installed in/SW (or where you choose to install
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.