Mac OS X 10.10 Use tips for continuous updates

Source: Internet
Author: User
Tags aliases

As a learning IOS developer, Mac is a must-have tool, as the saying goes, 工欲善其事, its prerequisite, here are some tips for using Mac OS X 10.10

    • Terminal aliases

Setting an alias for a terminal can be useful to some extent

      1. In terminal input 'vim ~/.bash_profile ', then press ' I ' into edit mode//Edit file, if no then create
      2. Enter alias alias in file = ' original command '//In this format, an alias line
      3. Press ' ESC ' to exit edit mode, enter ': X ' to save and exit the Vim editor
      4. in terminal input ' source ~/.bash_profile ', then you can use the set-up alias

Here are a few aliases I'm using.

1 dir='ls-l'2 alias ll='ls-l'3 Alias.. ='CD. ' 4 alias updatedb='/usr/libexec/locate.updatedb'

Mac OS X 10.10 Use tips for continuous updates

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.