1. Show hidden foldersDisplay: Defaults write Com.apple.finder appleshowallfiles-bool true(1) Copy "defaults write Com.apple.finder appleshowallfiles-bool true" to terminal, enter(2) Press Command+option+escape to open Force exit, restart Finder(3) Open Finder, this time hidden files are displayed, to note that hidden files generally do not delete2. Hide hidden files that have been shownHidden: Defaults write Com.apple.finder Appleshowallfiles-bool fa
This setting is completely personal, do not imitate!!! The whole terminal is the black character display way in the white bottom (the wonderful flower in the wonderful flower)1) ANSI Color use Color scheme check simultaneously2) Character encoding is set to UTF-8, the terminal can display Chinese characters correctly, the precondition is that the Linux server has set the UTF-8 Chinese character set--------
One. Mac install MySQLDownload MySQL First, address: https://dev.mysql.com/downloads/mysql/Then you know the installation is good, there will be a hint to remember the password, and then installed ....To change the password, refer to: http://blog.csdn.net/soft2buy/article/details/50223373Two. Terminal Operation MySQLFirst find MySQL in System preferences, such as left one, then open, run MySQL, make it appe
1, select the Finder, the shortcut key into the search directory:/usr/local and then into the MySQL directory:2. Right click "Start Here" to open the terminal:3, input execution:./scripts/mysql_install_db4, after execution, enter the bin directory, and then execute mysqld:5, so the MySQL server side started successfully. Then we press command+t, new open a terminal window bash,-u represents the current user
The terminal instructions in Mac can add some hidden features to your computer, making your Mac more useful, but sometimes it can be fun (dou bi), such as the "snow" of the terminal interface introduced today.
Before the beginning, in order to better create a "snow" effect, it is recommended to the
On mac, how can I use a terminal to open MySQL and xamppmysql that comes with XAMPP?
Start directly and describe the possible errors in each step.
1. Install xampp, open the terminal, and enter:
mysql -u root -p
It's a good luck to enter and wipe it. You don't need to read it later.
2. If the prompt "command not found" is displayed, continue the input and executi
MAC OSX terminal via NTLM authentication, internet via proxyThe company network limits are as follows:The company through the agent to control the intranet users access to the external network permissions. User name and password are domain users and are authenticated by NTLM(with foreFront TMG)problems encountered:On a virtual machine, the system installed for MAC
Do development often encounter in the current directory open terminal situation, has been to start the terminal, and then switch to the current directory, today found a new method, although not one step, but much faster than before.Tools/Materials
Mac System
Apple Computer
Method/Step
Tap the Finder pop-up drop-down menu at the top of t
Today I have studied the Mac terminal startup process. The following uses sublime as an example to describe how to add an app startup method to a Mac terminal. Method 1: Use "open-A/applications/sublime \ Text \ 2.app/". This method can be opened directly, but it is easy to do this every time. Method 2 found on the
, which can be used to filter results
ls-a | grep. BA can find hidden files containing BA, sometimes used to find. bash_profile files
SVN St | grep ^? View files that are not added in the current library
Ping-c 3 10.2.1.18ping 3 times Specify the target, and the unspecified number of times will always ping (this is not the same as Windows)
Terminal Operation Tips
Ctrl + A cursor moves to the beginning of the
Mac terminal command for displaying/hiding files in the Mac OS X operating system of apple, there are many ways to set whether hidden files are displayed. The simplest is to enter commands on the Mac terminal. The command for displaying/hiding
"First commit data" Add all Modify this repository Git pull Origin master get and merge from remote library to local repository Git push origin master Pushing changes to the remote library
So far, the new project has been completed.
Update Project1. Similar to the action when creating the project, open command line tool, execute commandCD xcode/iphone/ into the project directory git Add. Add all files to Repository git commit-a-M "Here is the submission ins
Some notes when following UCB ' s cs61bHere I list some options, the May is often used in javac (to be continued):
Specify a directory where. class would be put:-D Set The destination directory for class files.The directory must already exist; Javac would not create it
-GGenerate all debugging information, including local variables. By default, only line number and source file information are generated
Terminal on Mac:CdCd..LsOption
Original URL: https://segmentfault.com/q/1010000004221389/a-1020000004221408Mac terminal installation node, display "-bash:brew:command not Found", how to solve?
December 29, 2015 question
Comments
Invitation to answer
See all 2 answersthe answer is helpful to the person, has the reference value0 The answer is no help, it's the wrong answer, irrelevantly replying .Not installedHomebrewExecution under Bashruby -e "$(curl -fsSL http
PWD Current Working directoryCD (without parameters) into rootCD (folder) access to foldersCd.. Parent Directorycd ~ Back to RootCD-Returns the last visited directoryRM File name DeleteCat file name (|less) to view files under TerminalLS lists all files in the directoryCP file name destination directory copy files to target directory~ stands for root such as: ~/document/cpp2/Mkdiv new Folderg++ source file name compile source files, generate a.out./file name run for example:./a.out Control+d Int
First, open the Terminal execution commandvim ~/.bash_profileEnter the following command in. bash_profilealias subl="‘/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl‘"Wq after saving, go back to the command line and execute the following command to take effect:source ~/.bash_profileHere we assume that the command line opens with Sublimetext. Bash_profile, then execute as follows:subl ~/.bash_profile接下来 我们就可以在终端 使用 subl 目标文件 语句来打开文件了。Use
System: MacPython version: 2.7\3.5\3.6Reason for demand:python2.7 (default) installed on your computer, execute python command to open Work needs to be installed python3.5, execution Python3 can command to open Later installed Anaconda, Python3 start changed to 3.6 version, want to use python3.5 will have to execute python3.5 *.py, python3 by default is 3.6 Version, some headaches Workaround:Open ' ~/.bash_profile ', add "Alias" in front of the version that needs to be opened by default,sa
I use this shawdowsocks VPN, the environment is MacOS configured under the Mac can be normal agent.
In the terminal, there are usually several variables to configure the proxy http_proxy,https_proxy, all_proxy configure the agent.
Therefore, the value of the variable is directly configured:
$ export http_proxy=socks5://127.0.0.1:1080 # Configure HTTP access
$ export https_proxy=socks5://127.0.0.1:1080 #
Start 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 permission codeExitEnter MySQL and exit in
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.