For the habit of using Windows keyboard, suddenly turned into a Mac Bluetooth keyboard is really a bit unaccustomed, especially more ? This key, and the ALT key, are also optionBut for Windows under the familiar shortcut keys, they really fail, fortunately, Ubuntu is also commonly used, some terminal under the shortcut keys have not lostSo before I forget, hurry up and write it down first.?Command,? Ctrl? O
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 * * *
Recently learning Apple's certified MAC OS X support Essentials tutorial, see Command Line section has a lot of practical knowledge, below Select a part of translation + notes, organized into this article.
You can drive cars all day without knowing how to fix them, but if you want to be a maintainer, you need to know how things work. The same thing happens on M
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
Believe that long-term immersion in the terminal and the code of the small partners have their own favorite color scheme. Used to be a simple, readable terminal.app color scheme, the MacBook Pro with Retina display found this color time to look a little tired. Constantly someone recommend solarized, read some, feel good, decided to try. Solarized is currently the most complete terminal/editor/ide color sche
Mac OS Terminal several shortcut keysThe combination of several keys in Mac system can make the operation of terminal 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:
Believe that long-term immersion in the terminal and the code of the small partners have their own favorite color scheme. Used to be a simple, readable terminal.app color scheme, the MacBook Pro with Retina display found this color time to look a little tired. Constantly someone recommend solarized, read some, feel good, decided to try.Solarized is currently the most complete terminal/editor/ide color schem
The combination of several keys in Mac system can make the operation of terminal 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: Ctrl + R5. Clear the current line: Ctrl + U6, clear to the end of the current line: Ctrl + K7. Move the Word unit: Option +
Mac OS X is known as a graphical interface, but as a Unix-like system, it is still inseparable from the terminal (shell), especially for developers, MAC OS X default state of the terminal gives people feel is always uncomfortable,
effect.This blog address: http://www.cnblogs.com/toulanboy/EventuallySoftware IntroductionThe following content is from:https://xiaozhou.net/learn-the-command-line-iterm-and-zsh-2017-06-23.html. Thank you very much for the original author.About ITERM2ITerm2 is a completely free command-line app for Mac OS users, and, of course, a favorite for the program's members. ITerm2 itself supports many custom settin
We know that the command line terminal under Linux has color echo function, the LS command to view the directory or file, the terminal will be different colors; using the vim command line editor to open a script or other source code is displayed in syntax highlighting mode. But the terminal under Mac
have been using the Mac OS comes with the terminal, although some inconvenient, but overall is acceptable, is to have the idea of changing a terminal, and then happened to see a terminal weapon iTerm2, found that really very powerful, but also very easy to use, according to
, 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
The first time I opened the Mac OS X terminal, it was simply disappointing. There was no color display or distinction between files and folders. Mac, which is famous for its gorgeous interface, made the terminal so ugly, I couldn't stand it. I began to look:
Export PS1 =
Make a note here. Prevent lossPWD 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
One, what is UltraEditI think it's a programmer, and the code knows what Urledit is. We are going to use Linux and have a very famous editor gedit in Linux, which allows us to enter gedit XXX in the terminal. You can edit the software by entering the visual window.Gedit can also be used on Macs, but gedit. There's a better software UltraEdit on Mac, but how do we use gedit as a command to edit any file?Seco
// color your terminal.
Lscolors =... // Specify the specific project for coloring.
3) add more colors to get more color reminders, keep the previously added rows, and append them to the backend.
export TERM="xterm-color"PS1=‘\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\]\w\[\e[0m\]\$ ‘
After setting, you can see that the username and command line have colors:
All the above steps are available for the test.
All the above information
"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
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--------
[Turn]http://blog.csdn.net/jeanphorn/article/details/465506191. Description of the problemIt is believed that many users who have used Linux have used tree commands, which can display the directory structure as clearly as the Windows File Manager. But there is not the system itself, if necessary, Ubuntu can be installed under the following command. sudo apt-get install treeSo in Mac OS X system if you want
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.