본문 바로가기

MAC9

[Mac] 외장하드 포맷하기 > Big Sur 11.2.3 최근 외장하드를 구입해서 맥에서 사용을 하기 위해 초기화 작업을 해봤습니다. 먼저 LaunchPad를 실행시켜주세요. 맥용 키보드를 사용하고 계시면, F4 키를 누르면 됩니다. 그리고, Disk Utility를 찾아서 실행시켜줍니다. 못찾으시면, Other 폴더를 살펴봐주세요. Spotlight에서 찾으셔도 되고, 저같은 경우에는 Alfred를 사용해서 찾았어요. 그럼 이런 화면을 보실 수 있습니다. 꽂자마자 바로 ExFAT로 잡혀 있어서 즉시 사용할 수 있어요. 이런 편리함 때문에 맥을 쓰는 거죠. 하지만, ExFAT의 경우 윈도우와 호환이 되서 별도의 프로그램의 도움 없이 양쪽에서 사용할 수 있지만, 파일 시스템 자체의 안정성이 떨어져서 데이터 손실의 위험이 있습니다. .. 2021. 4. 21.
[Linux] Crontab으로 원하는 시간에 자동으로 작업 실행하기 Unix, Linux 계열 OS에서는 crontab을 사용하여 원하는 작업을 자동으로 실행할 수 있습니다. Unix 계열인 MacOSX에서도 당연히 사용할 수 있죠. 예를 들면, 매일 아침 8시에 뉴스 기사를 스크랩 해오는 프로그램을 자동으로 실행할 수도 있겠고, 매일 아침 8시 30분에 주식 자동 매매 프로그램을 실행시킬 수도 있겠죠. ㅎㅎㅎ 사용법도 매우 간단하니 배워서 바로 적용해보세요. ^^ 기본 명령어 다음 명령어를 사용하여 crontab을 실행합니다. $ crontab -e 기존에 만들어진 crontab이 있다면 해당 파일이 열릴 것이고, 없었다면 새로운 파일이 열릴 것입니다. crontab을 사용할 수 있는 문법은 잠시후에 설명 드릴게요~ 파일을 열지 않고 내용을 보고 싶다면 다음 명령어를 .. 2021. 4. 12.
[Mac] Tip: Resolving xcrun error Terminal에서 작업을 하다보면, 다음과 같은 에러를 만날 때가 종종 있습니다. xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun xcode의 command line도구 관련 문제인데, 보통 새로 설치를 해주면 문제가 해결됩니다. $ xcode-select --install 이미 설치가 되어있는데, 경로가 꼬여서 경로를 재설정 하고 싶다면 다음의 명령어를 입력해주면 됩니다. $ xcode-select --reset 단축 옵션으로 -r을 사용할 수 있습니다. 임의의 경로를 직접 설정해 .. 2021. 4. 3.
[Mac] Configuration for Development Let's config our Mac for development. System-Wide System Preferences First, configure system preferences that you want to set. You can set the appearance of the dock, shortcut keys, gestures and etc. Homebrew This is the most essential thing. You should use this. I recommend this!!! 2020/09/23 - [OS/Mac OSX] - [Mac] Homebrew Browser - Chrome Safari is a good browser, but I use Google Chrome. Bec.. 2020. 9. 26.
[Mac] Shell Configuration (feat. zsh) I used to use bash, zsh, and fish all before. I chose the zsh, because it can be easily customized and prettier than bash. In addition, it can also be used like fish by adding features with plugins. Let's fun together with the zsh!! Installation $ brew install zsh If you don't have the Homebrew, you have to install it now!!! 2020/09/23 - [OS/Mac OSX] - [Mac] Homebrew Let's install oh-my-zsh to m.. 2020. 9. 25.
[Mac] Change Colors of ls Command I'm currently using iTerm2 and the latest zsh. In the past, as I remember that if I want to change the color of the ls command, I should set in the LS_COLORS shell variables. But when I tried to set it with my new Mac in this time, it was LSCOLORS. Anyway, let's find out this. Default Value My Mac's default value was Gxfxcxdxbxegedabagacad. Oh Jeez, What is this?!! When I set it up before, it se.. 2020. 9. 25.
[Mac] Terminal Configuration with iTerm2 I've been using iTerm2 instead of the default terminal app. It has more awesome features than the default terminal app. Installation $ brew cask install iterm2 I also replaced the application in the dock. Configuration You can customize the most of things. Change all of them to your taste. Create Profiles You can many customized configuration set with profiles. Let's press ⌘, to run Preferences... 2020. 9. 24.
[Mac] Homebrew ※ 09/23/2020 Homebrew is a package manager for Mac. When you use Homebrew, you will see the formula, it is a simple Ruby script. cask This is an extension of Homebrew. It helps to install and manage GUI Mac applications. mas This is a simple command-line interface for the Mac App Store. Installation $ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh.. 2020. 9. 23.
[Mac] Cheatsheet System 더보기 F11 : Show desktop ⌃↑ : Mission control on/off ⌃← : Move left in mission control ⌃→ : Move right in mission control ⌃↓ : Application windows on/off ⌘Space : Show spotlight search ⌥⌘Space : Show finder search window ⌥⌘D : Dock hiding on/off ⇧⌘3 : Save a picture of the screen as a file ⌃⇧⌘3 : Copy picture of the screen to the clipboard ⇧⌘4 : Save a picture of the selected area as a file.. 2020. 9. 22.