mac How the system shows and hides files

Apple Mac OS X Under the operating system , There are many ways to set whether hidden files are displayed or not , The simplest is Mac Terminal input command . Show / hide Mac The hidden file command is as follows ( Pay attention to the spaces and be case sensitive ): Show Mac Command to hide files :defaults write com.apple.finder AppleShowAllFiles -bool true hide Mac Command to hide files :defaults write com.apple.finder AppleShowAllFiles -bool false perhaps Show Mac Command to hide files :defaults write com.apple.finder AppleShowAllFiles YES hide Mac Command to hide files :defaults write com.apple.finder AppleShowAllFiles NO Click after input Enter key , Exit terminal , Restart Finder That's all right. restart Finder: Click the apple logo in the upper left corner of the window --> Forced exit -->Finder--> Restart From somewhere else

Command line root

mac modify root Passwords and ubuntu It's the same . When it comes up, it doesn't have root User . Follow these steps step by step to create your own root User and password :
( One )sudo passwd root Then you are prompted to enter the password of the current login user .
( Two ) After adoption , Prompt you to type it twice root Password . So you set up root It's a password , It can be used root To log in Mac 了 .
( 3、 ... and ) utilize su root cut-in root user , Prompt after input password, Enter the password you just typed in and ok 了

mac Some common sense of the operation of the system more related articles

  1. How to solve Apple Mac The system doesn't recognize U disc

       1. stay Mac On board “ Disk tools ”, take U Partition the disk again , 2. Format selection “exFAT”. The format partition Win And Mac The system can read and write , In particular, it can support more than 4GB The large files . But some HD players may not support . 3. With ...

  2. ( Reprint )Mac Use under the system ADB Command connection android Mobile phone and file operation

    Mac Use under the system ADB Command connection android Mobile phone and file operation label : Mac adb android 2016-03-14 10:09 5470 Human reading   Comment on (1)  Collection   report   classification : Androi ...

  3. Mac operation :Mac The system moves the mouse to display the desktop ( Move the mouse to the corner )

    Many friends have found that , Some people are using Mac When , A mouse stroke can display the desktop , Or show Launchpad. It's very simple , Here's how to do it . First, open system preferences : Then click on the icon in the red circle :MissionContro ...

  4. Don't get tired of it Mac The system is hard to use Have you used all these shortcuts

    Apple this year 10 The new belt handle released in May (bar) Of MacBook, The light and cool look is very popular , Of course, there are many from Windows go to Mac Camp users . I'm used to it Windows The users who are used to the operation are in the beginning Mac I always feel very ...

  5. mac System and xcode The use of SVN Client installation upgrade

    Current SVN Version has been upgraded to 1.8.x 了 , but mac It comes with the system and xcode The use of SVN The client version has not been upgraded , still 1.6.x Version of . To solve the problem of hidden Directory .svn Only in the root directory , At least upgrade to 1.7.x ...

  6. Why is it forbidden Mac Systematic Spotlight The needs of :

    One . Why is it forbidden Mac Systematic Spotlight The needs of : Some netizens are running newer systems because they are using older Apple computers : Maybe you're a speed controller , Can't stand the occasional kakatonton operation , We must eliminate all the causes of Caton : There is something to be desired ...

  7. modify Mac The default screenshot of the system is saved to the specified directory

    notes : This article only aims at mac System if you are mac user , You'll find that the desktop is always in a mess , The desktop is full of normal screenshots (mac The screenshot of the system is command+shift+3 and command+shift+4 Two quick commands ) Until now ...

  8. Mac Use... Under the system VirtualBox Virtual machine installation win7-- Step five Shared folder settings

    1. start-up virtualbox-- Choose win7 virtual machine -- Click Settings -- Click share folder -- Click the button on the right to add a shared folder

  9. Mac Use... Under the system VirtualBox Virtual machine installation win7-- First step install vbox virtual machine

    Mac Use... Under the system VirtualBox Virtual machine installation win7 Operation steps : First step install vbox virtual machine 1. To download vbox, Download address :: https://www.virtualbox.org/wiki/Down ...

Random recommendation

  1. [ turn ]ThinkPHP Instantiates the object in M() and D() The difference between ,select and find The difference between

    1.ThinkPHP Instantiates the object in M() and D() The difference between During instantiation , Regular use D Methods and M Method , The difference between the two methods is M Method instantiation models do not require users to define model classes for each data table , If D Method did not find the defined model class , will ...

  2. Remote access that requires security authentication EJB Invoke the sample (Jboss EAP 6.2 Environmental Science )

    One ,Remote EJB Service interface definition : package yjmyzz.ejb.server.helloworld; public interface HelloWorldService { publ ...

  3. visual studio 2012 How to completely delete TFS Team projects on the Internet

    http://www.cnblogs.com/zfanlong1314/p/3378441.html My TFS Address :https://zfanlong1314.visualstudio.com/ most ...

  4. InnoDB: Error: could not open single-table tablespace file

    find \mysql\bin Below my.ini in mysqld Add after project innodb_force_recovery = 1

  5. HDU 3265 Posters( Line segment tree )

    HDU 3265 Posters pid=3265" target="_blank" style=""> Topic link The question : Given some rectangular posters . There is ...

  6. Documention

    Object.bool Does the object exist? Object.name Components share the same name with the game object a ...

  7. 20170515-20170523 Study plan --- Study java(1)

    background : There was a reading party in the group , I'm in charge , The theme of our study is java, In order to better serve the book club , So make a study plan , I'll share it at the book club . This is the second reading party , For the first time java Some basic knowledge , This time, as long as you learn right ...

  8. win10 uwp Rounded button

    This article is about how to make a rounded button , We are UWP The original buttons are rectangular , Round corners Radius No, , So this article uses a simple method to do the round button . We need rounded corners for buttons , And I didn't bring it with me , Actually, it's very simple to make one , Change the original button to a transparent background , Then use moments ...

  9. MongoDB Connect

    1. import pymongo client = pymongo.MongoClient(host='localhost',port=27017) 2. client=MongoClient('m ...

  10. P2467 [SDOI2010] Goblin tribe (dp+ Combinatorial number )【 Expand Lucas It's hard not to 】

    Topic link : Portal subject : Title Description It's said that a long time ago , There is a mysterious creature living on the earth : Gnomes . Goblins like to live in endless mountains . To be specific , The length of one is N The mountains of China H It can be divided into left to right N paragraph , Each segment has a unique height Hi, Its ...