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
With many users in the use of MAC terminals will encounter the need to enter a password, but careful users will find that sometimes the input password is not used, or can not enter the password, small series in the use of the time also encountered this situation, small series after their own exploration and use, integrated a number of solutions.
Solutions
1, first you have to have an account password, no password is not, you must set up an ac
Tags: mysq input into Apple native Div back nbsp quitStart the MySQL service in preferences firstGet Super PermissionsEnter the code in the terminalsudo suGet Super Privilege terminal display sh-3.2# after inputEnter a native password (Apple ID password)followed by absolute path login code/usr/local/mysql/bin/mysql-u root-pRe-enter the MySQL password (my password is set to root)Landing successExit codeQuitExit Success ByeFinally exit sh-3.2# Super per
Directory Operations
Command name
Description
Example
Cd
Switch to the specified directory
CD test
Ls
View all files in this directory
Ls/users/zourong/projects/test
Pwd
Displays the path name of the current directory
Pwd
Mkdir
Create a new directory
mkdir test
RmDir
Delete a directory
RmDir test
File operations
comman
First, create a project that can run both in Xcode and Eclipse:1.Open the Mac terminal, enter the Tools/project-creator in the Cocos2d-x directory, execute the command./create_project.py-project [Project name]-package [package name]-language [using the language CPP or Java, etc.]You can then see the newly generated project in the projects in the Cocos2d-x directory.2. Place the created item in the D:\cocos2
In summary, the development system is OS X 10.11.4, the tool is ITerm2, and the practice is currently based solely on that environment.1. Most commonly usedCmd+c: CopyCmd+v: PastingTAB: ComplementCTRL + A: Move to command start positionCtrl+e: Move to command end positionCmd+k: Delete Here to start all content (Refresh screen) | Ctrl+l: Refresh ScreenCTRL + C: Kill current task2. Window operationCmd+t: New tab pageCMD+W: Close tabcmd+←: Previous page tabcmd+→: Next tabshift+cmd+←: Tab Shift left
Project home: Https://github.com/rofl0r/proxychains-ngOfficial Note:
Proxychains ng (New Generation)-a preloader which hooks calls to sockets in dynamically linked programs and redirects it Through one or more socks/http proxies. Continuation of the unmaintained Proxychains project.
Reference post: http://www.dreamxu.com/proxychains-ng/Installation configurationInstalling with Homebrew
Brew Install Proxychains-ng
Editing a configuration filevim /usr/local
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
Command name
Function description
Application examples
Cat
Show or connect files
Cat filename
Od
Display the contents of a non-text file
od-c filename
Cp
Copy a file or directory
CP file1 File2
Rm
Delete a file or directory
RM filename
Mv
Change the file name or directory
MV File1 File2
Find
Finding files using matching expressions
the font set in the Finder's font book(2), set Iterm 2 support powerline FontOpen Iterm 2 Right click on Edit-select menu bar to setSet up the character set for Iterm 2 according to the selection in the diagram(3), ITerm 2 of the character set can also be modified after the completion of the Oh-my-zsh theme we selected.Vim. ZSHRC Modify this configuration fileZsh_theme= "Agnoster" setting theme is Agnoster(4), now let us feel the strength of zsh.Of course, if you don't like the subject, go here
multi-word read primary key. It is called the main code. And it can uniquely determine a row of data in a table, or you can uniquely identify an entity. 29. Create a UNIQUE Constraint data table (parameter self-growth) Mysql>create Table Tb3 ( ->id INT UNSIGNED PRIMARY KEY auto_increment, //increment self-growth ->name CHAR (a) is not NULL UNIQUE, //unique Unique Constraint ->weight FLOAT (5,2) DEFAULT 50.3 //default Setting default values ); 30. Invalid null value for UNIQUE constraint 31. Add
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.