In the Mac system does not have home, end and other keys, so in use is not particularly handy, but there are several key combinations can make terminal operation more flexible and convenient.1. Move the cursor to the beginning of the line: Ctrl + A2. Move the cursor to the end of the line: Ctrl + E3. Clear the Screen: Ctrl + L4. Search for previously used commands
Tags: Specify bash command to increase mes default CSDN super type AceThe shell of MacOS Terminal is bash by default.Original Sticker Reference: http://blog.csdn.net/yechaodechuntian/article/details/452427471. Simple Commands and directoriesMan to see the use of a command.Up and down key tumbling view, Space page, input/keyword for text search, Q exit.The PWD displays the current absolute path. LS lists th
copy to a different URL.
Usage: 1, switch URL [PATH]
2. Switch--relocate from to [PATH ...]
1, update your working copy, map to a new URL, its behavior is similar to "SVN update", will also
The files on the server are merged with the local files. This is the one where the working copy corresponds to a branch or tag in the same warehouse.
Method.
2, rewrite the working copy of the URL metadata to reflect the simple URL changes. When the root URL of the warehouse changes
(suc
copy to a different URL.
Usage: 1, switch URL [PATH]
2. Switch--relocate from to [PATH ...]
1, update your working copy, map to a new URL, its behavior is similar to "SVN update", will also
The files on the server are merged with the local files. This is the one where the working copy corresponds to a branch or tag in the same warehouse.
Method.
2, rewrite the working copy of the URL metadata to reflect the simple URL changes. When the root URL of the warehouse changes
(suc
/system/library/extensionsThe parameter R indicates a recursive operation of the directory, and Kext looks like a file under the graphical interface, which is actually a folder.Back up all files in the drive directory to desktop backupCp-r/system/library/extensions/*/user/User name/desktop/backupMove file----MVExample: Want to move Applehda.kext to the desktopmv/system/library/extensions/applehda.kext/user/User name/desktopWant to move the Applehda.kext to the backup directoryMv/system/library/e
Allow or deny receiving of messages
MESG N
Korn shell command
command name
function Description
Examples of Use
History
List several recently executed commands and numbers
History
R
Repeatedly executes a command that has been recently executed
R-2
Alias
To define an alias for a command
Alias Del=rm-i
Unalias
changes on the simple URL. When the repository's root URL changes by 9 (such as schema name or hostname change), but the working copy is still mapped to the same directory as the same repository, use the 10 command to update the corresponding relationship between the working copy and the warehouse.17. Conflict Resolution1 SVN resolved: Removes the "conflicting" status of the working Copy's directory or file. 2 usage: Resolved PATH ... 3 Note: The book command does not resolve the conflict by sy
I. Basic Introduction
SQLite is a self-contained, serverless, zero-configuration, and transactional relational database engine. Because it is very small, it can also be built into your application as an embedded database. SQLite is used in Solaris 10, Mac OS, iPhone, and Skype. QT4, Python, and PHP all support SQLite by default, and popular applications such as Firefox Amarok also use SQLite internally.
SQLite Database Engine implements the main SQL-
Record some of the terminal's use of commands, with automatic completion of the configuration, mainly afraid of forgetting later.1. Terminal Auto-complete configurationOpen Terminal, enter:Nano. InputrcWrite in the file:Set Completion-ignore-case onSet show-all-if-ambiguous onTab:menu-completeCTRL + O, enter, restart the term
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 installed in the SD card, rather than the inte
Pbpaste > File.txt
to copy the results and to see the output of the commandCommand output is not visible if you give the Copy command (the above-mentioned command, clip, Xsel, pbcopy). If you want to see the output of the command first, you can do so below.C code
$ echo ' Hello world! ' | tee tmp.file.txt
Hello world!
$ Xsel
$ RM tmp.file.txt
That is, first useteecommand to export the output to the console and to a file. After the command executes, the o
Backup Common shortcut keys:Ctrl + D deletes one character, which is equivalent to the usual delete key (the command line is equivalent to exit if none of the characters are the same; EOF is also represented when working with multiple lines of standard input)Ctrl + H backspace deletes one character, equivalent to the usual backspace keyCtrl + U Delete the characters before the cursor to the beginning of the lineCtrl + K Deletes the character before the cursor to the end of the lineCTRL + C canc
In the Mac OS X operating system of apple, there are many ways to hide the display of files. The simplest method is to enter commands on the Mac terminal. The command for displaying/hiding a Mac hidden file is as follows (note the spaces and make them case sensitive ):
Comma
Transferred from: http://www.jianshu.com/p/d9ec00d28237Heavy and technical prefaceIn the process of iOS development, more attention to the efficiency of iOS development, familiar with the use of Mac terminal operation of the common commands, you can make a better edge in iOS heavy development. This article focuses on common M
Tags: IP address adaptation interaction will require unicast article connectivity programsReprinted from: http://blog.csdn.net/zkh90644/article/details/50539948The operating system has a common set of utilities to determine the connectivity of the local host's wired or Wireless Link state and IP. If the machine has an IP connection, then it means that wired or wireless is working properly. In the Mac OS x system, there are several useful programs to c
Unix Command, but an OSX software, remember to run the modified or added driver once.
Text editingNano file nameFor example, edit natit info. plist nano/system/library/extensions/natit. kext/info. after plist editing is complete, use Ctrl + O to save the disk. CTRL + X to exit from another text editing software VI, which is a little odd and easy to use, and in all UNIX-like systems, it is not afraid to go all over the world.
Run the script commandSh script file nameFor example, after the driver
Lists all users currently logged on Whowhoami display the user name that is currently in action Whoamitty Display the name of the terminal or pseudo terminal Ttystty display or reset the control key definition Stty-adu querying disk usage du-k subdir DF/TMP Display total file system space and free space W displays the total information for the current sys
Tags: effective www PwC terminal recovery follow off blank environment variable settings1, enter on the command lineExport Path=/usr/bin:/usr/sbin:/bin:/sbin:/usr/x11r6/binThis guarantees that command-line commands can be used temporarily. Do not close the terminal until after the command has been executedor execute the VI command under Cd/usr/bin.2. Recover Bash
files in the drive directory to the root userChown-r root:wheel/system/library/extensionsParameter r indicates a recursive operation11. Fix permissions on files throughout the systemdiskutil repairpermissions/Strictly speaking, this is not a Unix command, but OSX is a software that remembers the modification or addition of the driver to execute once.12. Text EditingNano file nameExample: Edit Natit info.plistNano/system/library/extensions/natit.kext/info.plistAfter editing, use Ctrl +o to save,
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.