'Apple'에 해당되는 글 28건

  1. 2022.03.25 mac console에서 gui 프로그램 실행하기
  2. 2022.03.25 mac 패키지 분석.. 2?
  3. 2022.03.25 macos ssh 서버 구동
  4. 2022.03.21 macos python opengl
  5. 2022.03.21 dmg 파일 분해
  6. 2022.03.20 mac python opencv 설치
  7. 2022.03.20 mac os
  8. 2022.03.20 맥(카탈리나) 환경 설정 중
Apple2022. 3. 25. 10:14

아.. 우분투 마렵다(?)

 

% open -a TextEdit filename

[링크 : https://apple.stackexchange.com/questions/25844/can-i-open-files-in-textedit-from-the-terminal-in-mac-os-x]

'Apple' 카테고리의 다른 글

mac 에서 rtl-sdr 시도..  (0) 2022.04.02
macos 더블클릭 드래그  (0) 2022.04.01
mac 패키지 분석.. 2?  (0) 2022.03.25
macos ssh 서버 구동  (0) 2022.03.25
macos python opengl  (0) 2022.03.21
Posted by 구차니
Apple2022. 3. 25. 10:08

마인크래프트 한번 해보려고 받았는데 안되네.. 

되면 좋지만 안되면 그것 나름대로 원인을 분석해봐야 하는데

그걸 떠나서 패키지가 어떻게 되나 궁금해서 분석 ㄱㄱ!

 

마인크래프트 패키지는 dmg 확장자에 zlib compressed data라는 포맷으로 인식된다.

% file *
Minecraft.dmg: zlib compressed data

 

근데 해당 파일을 실행하면 알아서 마운트 되고

 

~/Desktop 에서는 보이지 않는 Minecraft 라는 폴더가 생긴다.(맥에서는 폴더라고 하나 디렉토리라고 하나..?)

Desktop % ls -al
total 6432
drwx------+  9 minimonk staff      288  3 25 09:15 .
drwxr-xr-x+ 23 minimonk staff      736  3 25 09:11 ..
-rw-r--r--@  1 minimonk staff     8196  3 25 09:15 .DS_Store
-rw-r--r--   1 minimonk staff        0  3 19 16:50 .localized
-rw-r--r--@  1 minimonk staff  2053616  3 21 10:13 스크린샷 2022-03-21 오전 10.13.11.png
-rw-r--r--@  1 minimonk staff   897651  3 25 09:15 스크린샷 2022-03-25 오전 9.14.55.png
-rw-r--r--@  1 minimonk staff    91529  3 25 09:15 스크린샷 2022-03-25 오전 9.15.04.png
-rw-r--r--@  1 minimonk staff   220589  3 25 09:15 스크린샷 2022-03-25 오전 9.15.28.png

 

바탕화면에 생긴 Minecraft 디렉토리는 "볼륨" 타입으로 출력된다.

일단 mount 명령을 통해 경로를 찾아 들어가보면

% mount | grep Mine
/dev/disk2s1 on /Volumes/Minecraft (hfs, local, nodev, nosuid, read-only, noowners, quarantine, mounted by shin)

 

다른건 딱히 눈에 띄는건 없고.. laucher 라는 실행 파일 하나만 보인다.

% tree
.
├── Applications -> /Applications
└── Minecraft.app
    └── Contents
        ├── Info.plist
        ├── MacOS
        │   └── launcher
        ├── Minecraft Updater.app
        │   └── Contents
        │       ├── Info.plist
        │       ├── MacOS
        │       │   └── nativeUpdater
        │       ├── Resources
        │       │   ├── NativeUpdater.nib
        │       │   ├── PkgInfo
        │       │   └── favicon.icns
        │       └── _CodeSignature
        │           └── CodeResources
        ├── Resources
        │   ├── MainMenu.nib
        │   ├── PkgInfo
        │   └── favicon.icns
        └── _CodeSignature
            └── CodeResources


11 directories, 12 files

 

흐음.. file 설명이 특이하네.. Mach-O? 마하 커널용 오브젝트의 약자일려나?

% file *
launcher: Mach-O 64-bit executable x86_64

 

 

 

이번에는 zoom 클라이언트

파일 자체는 xar로 압축되었다는데 tar 옵션주듯 풀면 풀린다.

% file Zoom.pkg 
Zoom.pkg: xar archive compressed TOC: 6106, SHA-1 checksum

 

% tree
.
├── Distribution
├── Resources
│   ├── de.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── en.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── es.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── fr.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── it.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── ja.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── ko.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── pl.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── pt.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── ru.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── tr.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── vi.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   ├── zh-Hans.lproj
│   │   ├── Localizable.strings
│   │   └── Welcome.rtf
│   └── zh-Hant.lproj
│       ├── Localizable.strings
│       └── Welcome.rtf
└── zoomus.pkg
    ├── Bom
    ├── PackageInfo
    ├── Payload
    └── Scripts


16 directories, 33 files

 

 

% file *
Bom:         Mac OS X bill of materials (BOM) file
PackageInfo: XML 1.0 document text, ASCII text
Payload:     gzip compressed data, from Unix, original size modulo 2^32 88226304
Scripts:     gzip compressed data, from Unix, original size modulo 2^32 12800

 

'Apple' 카테고리의 다른 글

macos 더블클릭 드래그  (0) 2022.04.01
mac console에서 gui 프로그램 실행하기  (0) 2022.03.25
macos ssh 서버 구동  (0) 2022.03.25
macos python opengl  (0) 2022.03.21
dmg 파일 분해  (0) 2022.03.21
Posted by 구차니
Apple2022. 3. 25. 09:56

 

 

 

 

 

[링크 : https://jootc.com/p/201810122013]

'Apple' 카테고리의 다른 글

mac console에서 gui 프로그램 실행하기  (0) 2022.03.25
mac 패키지 분석.. 2?  (0) 2022.03.25
macos python opengl  (0) 2022.03.21
dmg 파일 분해  (0) 2022.03.21
mac python opencv 설치  (0) 2022.03.20
Posted by 구차니
Apple2022. 3. 21. 19:39

카탈리나 최후 버전 부터 openGL이 deprecated 되었다고 하는데

맥북에어 2012의 경우 카탈리나 이후 버전 지원을 안하니 그냥 무시하고 쓰면 되려나?

그럼 반대로.. 신형은 openGL 대신 어떤걸 지원하는거지?

 

[링크 : https://www.geeksforgeeks.org/how-to-install-pyopengl-in-macos/]

[링크 : https://apple.stackexchange.com/questions/379326/]

'Apple' 카테고리의 다른 글

mac 패키지 분석.. 2?  (0) 2022.03.25
macos ssh 서버 구동  (0) 2022.03.25
dmg 파일 분해  (0) 2022.03.21
mac python opencv 설치  (0) 2022.03.20
mac os  (0) 2022.03.20
Posted by 구차니
Apple2022. 3. 21. 09:25

완전히 파고들어보진 못하고 대충 겉만 핥아봄

 

dmg 자체는 bzip2 니까.. 압축율은 꽤 좋겠군..

% file *
XQuartz-2.8.1.dmg:                     bzip2 compressed data, block size = 100k

 

압축을 풀면 chrome은 깨진건지 GEN GDOS font라고 나오고, xquartz를 풀어보니 data 라고 나온다.

다만 압축 해제시 EOF 이후에 먼가 더 데이터가 있나 보다.


% file *
googlechrome.dmg.out:                  GEM GDOS font ?x 8, ID 0x5245, lightening mask 0x0, skewing mask 0x0


% bzip2 -d XQuartz-2.8.1.dmg -k

bzip2: Can't guess original name for XQuartz-2.8.1.dmg -- using XQuartz-2.8.1.dmg.out


bzip2: XQuartz-2.8.1.dmg: trailing garbage after EOF ignored

% file *                       

XQuartz-2.8.1.dmg:                     bzip2 compressed data, block size = 100k
XQuartz-2.8.1.dmg.out:                 data

 

앞 부분을 열어보니 HFSJ.. 어째 오버레이 가능한 파일 시스템이 아닌가 의심..

파일을 설치할때 마운트 하고(jail 에서?) 본 파일 시스템으로 적용하면서 복사하는건 아니겠지?

% head XQuartz-2.8.1.dmg.out
H+?!HFSJܫ=?ܫ?ܫ?{????????.^o?pp???pp?


                                    ?``?z?%                 

 

Within the system, an HFS Plus volume with a journal is identified as HFSJ.

[링크 : https://en.wikipedia.org/wiki/HFS_Plus]

'Apple' 카테고리의 다른 글

macos ssh 서버 구동  (0) 2022.03.25
macos python opengl  (0) 2022.03.21
mac python opencv 설치  (0) 2022.03.20
mac os  (0) 2022.03.20
맥(카탈리나) 환경 설정 중  (0) 2022.03.20
Posted by 구차니
Apple2022. 3. 20. 13:55

카탈리나에서 설치

 

% pip3 install opencv-python
Collecting opencv-python
  Using cached https://files.pythonhosted.org/packages/30/81/0baa771f44a0898ea9eaa7437f76d429608aee591d080cc521760b704bad/opencv_python-4.5.5.64-cp36-abi3-macosx_10_15_x86_64.whl
Collecting numpy>=1.14.5; python_version >= "3.7" (from opencv-python)
  Using cached https://files.pythonhosted.org/packages/52/d0/d7a200f2c3d6c6a879dbdc6d762c7dbed542527333ac9a6a72c8ffab9814/numpy-1.22.3-cp38-cp38-macosx_10_14_x86_64.whl
Installing collected packages: numpy, opencv-python
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/Library/Python/3.8'
Consider using the `--user` option or check the permissions.


WARNING: You are using pip version 19.2.3, however version 22.0.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

[링크 : https://potensj.tistory.com/73]

[링크 : https://yunslog.tistory.com/27]

'Apple' 카테고리의 다른 글

macos ssh 서버 구동  (0) 2022.03.25
macos python opengl  (0) 2022.03.21
dmg 파일 분해  (0) 2022.03.21
mac os  (0) 2022.03.20
맥(카탈리나) 환경 설정 중  (0) 2022.03.20
Posted by 구차니
Apple2022. 3. 20. 11:23

터미널 exit시 종료하게 하기

[링크 : https://support.apple.com/ko-kr/guide/terminal/trmlshll/2.12/mac/11.0]

 

콘솔 screen 유틸리티 사용하기

맥이 아니라 *nix 유틸리티의 경우 command 키 조합이 아니라 control 키 조합인게냐.. -_-

[링크 : https://tttsss77.tistory.com/52]

 

스크린샷 shift-command-3,4

[링크 : https://support.apple.com/ko-kr/HT201361]

 

앱, 데스크탑 넘기기

[링크 : https://support.apple.com/ko-kr/guide/mac-help/mh14112/mac]

 

+

40분 동안 13% 빠지면 6~7 시간은 충분히 버텨줄 듯.

$나 # 대신에 %가 뜨니 신기하네. zsh 특징인듯 하다.

% uptime    
11:08  up 38 mins, 2 users, load averages: 1.38 2.81 2.68

 

패치해서 그런가 커널이 2022년 2월 15일 버전으로 똭

% uname -a
Darwin shinui-MacBookAir.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Feb 15 21:39:11 PST 2022; root:xnu-6153.141.59~1/RELEASE_X86_64 x86_64

 

linux오는 비슷하지만 다르게 nvme가 disk1s5 식으로 명명된다.

% df -h
Filesystem      Size   Used  Avail Capacity iused      ifree %iused  Mounted on
/dev/disk1s5   113Gi   10Gi   92Gi    11%  488255 1182354225    0%   /
devfs          187Ki  187Ki    0Bi   100%     646          0  100%   /dev
/dev/disk1s1   113Gi  8.4Gi   92Gi     9%  130143 1182712337    0%   /System/Volumes/Data
/dev/disk1s4   113Gi  1.0Gi   92Gi     2%       2 1182842478    0%   /private/var/vm
map auto_home    0Bi    0Bi    0Bi   100%       0          0  100%   /System/Volumes/Data/home
/dev/disk2s1   124Mi  107Mi   17Mi    87%       5 4294967274    0%   /Volumes/XQuartz-2.8.1

 

/dev는 평이한 느낌이고

% ls -al /dev/
total 9
dr-xr-xr-x   3 root  wheel         4360  3 20 10:31 .
drwxr-xr-x  22 root  admin          704  3 19 19:23 ..
crw-------   1 root  wheel      19,   1  3 20 10:31 afsc_type5
crw-------   1 root  wheel      10,   0  3 20 10:31 auditpipe
crw-r--r--   1 root  wheel       9,   2  3 20 10:31 auditsessions
crw-------   1 root  wheel      22,   0  3 20 10:31 autofs
crw-------   1 root  wheel      34,   0  3 20 10:31 autofs_control
crw-rw-rw-   1 root  wheel      33,  20  3 20 10:31 autofs_homedirmounter
crw-rw-rw-   1 root  wheel      32,  20  3 20 10:31 autofs_notrigger
crw-rw-rw-   1 root  wheel      31, 0x00000484  3 20 10:31 autofs_nowait
crw-------   1 root  wheel      23,   0  3 20 10:31 bpf0
crw-------   1 root  wheel      23,   1  3 20 10:31 bpf1
crw-------   1 root  wheel      23,   2  3 20 10:31 bpf2
crw-------   1 root  wheel      23,   3  3 20 10:31 bpf3
crw-------   1 shin  staff       0,   0  3 20 10:31 console
crw-rw-rw-   1 root  wheel      18,   1  3 20 10:31 cu.Bluetooth-Incoming-Port
brw-r-----   1 root  operator    1,   0  3 20 10:31 disk0
brw-r-----   1 root  operator    1,   1  3 20 10:31 disk0s1
brw-r-----   1 root  operator    1,   2  3 20 10:31 disk0s2
brw-r-----   1 root  operator    1,   3  3 20 10:31 disk1
brw-r-----   1 root  operator    1,   4  3 20 10:31 disk1s1
brw-r-----   1 root  operator    1,   8  3 20 10:31 disk1s2
brw-r-----   1 root  operator    1,   6  3 20 10:31 disk1s3
brw-r-----   1 root  operator    1,   5  3 20 10:31 disk1s4
brw-r-----   1 root  operator    1,   7  3 20 10:31 disk1s5
br--r-----   1 shin  staff       1,   9  3 20 11:05 disk2
br--r-----   1 shin  staff       1,  10  3 20 11:05 disk2s1
crw-rw-rw-   1 root  wheel      24,  31  3 20 10:31 dtrace
crw-rw-rw-   1 root  wheel      25,   0  3 20 10:31 dtracehelper
crw-rw-rw-   1 root  wheel       0,   0  3 20 10:31 fbt
dr-xr-xr-x   1 root  wheel            0  3 20 10:31 fd
crw-r--r--   1 root  wheel      13,   0  3 20 10:31 fsevents
crw-rw-rw-   1 root  wheel      21,  13  3 20 10:31 io8log
cr--r--r--   1 root  wheel      21,  14  3 20 10:31 io8logmt
crw-rw-rw-   1 root  wheel      21,   9  3 20 11:16 io8logtemp
crw-------   1 root  wheel       6,   0  3 20 10:31 klog
crw-rw-rw-   1 root  wheel       0,   0  3 20 10:31 lockstat
crw-rw-rw-   1 root  wheel       0,   0  3 20 10:31 machtrace
crw-rw-rw-   1 root  wheel       3,   2  3 20 11:16 null
crw-------   1 root  wheel       7,   0  3 20 10:31 oslog
crw-------   1 root  wheel       8,   0  3 20 10:31 oslog_stream
crw-------   1 root  wheel      11,   0  3 20 10:31 pf
crw-------   1 root  wheel      11,   1  3 20 10:31 pfm
crw-------   1 root  operator   20,   0  3 20 10:31 pmCPU
crw-rw-rw-   1 root  wheel       0,   0  3 20 10:31 profile
crw-rw-rw-   1 root  tty        15,   1  3 20 11:16 ptmx
crw-rw-rw-   1 root  wheel       5,   0  3 20 10:31 ptyp0
crw-rw-rw-   1 root  wheel       5,   1  3 20 10:31 ptyp1
crw-rw-rw-   1 root  wheel       5,   2  3 20 10:31 ptyp2
crw-rw-rw-   1 root  wheel       5,   3  3 20 10:31 ptyp3
crw-rw-rw-   1 root  wheel       5,   4  3 20 10:31 ptyp4
crw-rw-rw-   1 root  wheel       5,   5  3 20 10:31 ptyp5
crw-rw-rw-   1 root  wheel       5,   6  3 20 10:31 ptyp6
crw-rw-rw-   1 root  wheel       5,   7  3 20 10:31 ptyp7
crw-rw-rw-   1 root  wheel       5,   8  3 20 10:31 ptyp8
crw-rw-rw-   1 root  wheel       5,   9  3 20 10:31 ptyp9
crw-rw-rw-   1 root  wheel       5,  10  3 20 10:31 ptypa
crw-rw-rw-   1 root  wheel       5,  11  3 20 10:31 ptypb
crw-rw-rw-   1 root  wheel       5,  12  3 20 10:31 ptypc
crw-rw-rw-   1 root  wheel       5,  13  3 20 10:31 ptypd
crw-rw-rw-   1 root  wheel       5,  14  3 20 10:31 ptype
crw-rw-rw-   1 root  wheel       5,  15  3 20 10:31 ptypf
crw-rw-rw-   1 root  wheel       5,  16  3 20 10:31 ptyq0
crw-rw-rw-   1 root  wheel       5,  17  3 20 10:31 ptyq1
crw-rw-rw-   1 root  wheel       5,  18  3 20 10:31 ptyq2
crw-rw-rw-   1 root  wheel       5,  19  3 20 10:31 ptyq3
crw-rw-rw-   1 root  wheel       5,  20  3 20 10:31 ptyq4
crw-rw-rw-   1 root  wheel       5,  21  3 20 10:31 ptyq5
crw-rw-rw-   1 root  wheel       5,  22  3 20 10:31 ptyq6
crw-rw-rw-   1 root  wheel       5,  23  3 20 10:31 ptyq7
crw-rw-rw-   1 root  wheel       5,  24  3 20 10:31 ptyq8
crw-rw-rw-   1 root  wheel       5,  25  3 20 10:31 ptyq9
crw-rw-rw-   1 root  wheel       5,  26  3 20 10:31 ptyqa
crw-rw-rw-   1 root  wheel       5,  27  3 20 10:31 ptyqb
crw-rw-rw-   1 root  wheel       5,  28  3 20 10:31 ptyqc
crw-rw-rw-   1 root  wheel       5,  29  3 20 10:31 ptyqd
crw-rw-rw-   1 root  wheel       5,  30  3 20 10:31 ptyqe
crw-rw-rw-   1 root  wheel       5,  31  3 20 10:31 ptyqf
crw-rw-rw-   1 root  wheel       5,  32  3 20 10:31 ptyr0
crw-rw-rw-   1 root  wheel       5,  33  3 20 10:31 ptyr1
crw-rw-rw-   1 root  wheel       5,  34  3 20 10:31 ptyr2
crw-rw-rw-   1 root  wheel       5,  35  3 20 10:31 ptyr3
crw-rw-rw-   1 root  wheel       5,  36  3 20 10:31 ptyr4
crw-rw-rw-   1 root  wheel       5,  37  3 20 10:31 ptyr5
crw-rw-rw-   1 root  wheel       5,  38  3 20 10:31 ptyr6
crw-rw-rw-   1 root  wheel       5,  39  3 20 10:31 ptyr7
crw-rw-rw-   1 root  wheel       5,  40  3 20 10:31 ptyr8
crw-rw-rw-   1 root  wheel       5,  41  3 20 10:31 ptyr9
crw-rw-rw-   1 root  wheel       5,  42  3 20 10:31 ptyra
crw-rw-rw-   1 root  wheel       5,  43  3 20 10:31 ptyrb
crw-rw-rw-   1 root  wheel       5,  44  3 20 10:31 ptyrc
crw-rw-rw-   1 root  wheel       5,  45  3 20 10:31 ptyrd
crw-rw-rw-   1 root  wheel       5,  46  3 20 10:31 ptyre
crw-rw-rw-   1 root  wheel       5,  47  3 20 10:31 ptyrf
crw-rw-rw-   1 root  wheel       5,  48  3 20 10:31 ptys0
crw-rw-rw-   1 root  wheel       5,  49  3 20 10:31 ptys1
crw-rw-rw-   1 root  wheel       5,  50  3 20 10:31 ptys2
crw-rw-rw-   1 root  wheel       5,  51  3 20 10:31 ptys3
crw-rw-rw-   1 root  wheel       5,  52  3 20 10:31 ptys4
crw-rw-rw-   1 root  wheel       5,  53  3 20 10:31 ptys5
crw-rw-rw-   1 root  wheel       5,  54  3 20 10:31 ptys6
crw-rw-rw-   1 root  wheel       5,  55  3 20 10:31 ptys7
crw-rw-rw-   1 root  wheel       5,  56  3 20 10:31 ptys8
crw-rw-rw-   1 root  wheel       5,  57  3 20 10:31 ptys9
crw-rw-rw-   1 root  wheel       5,  58  3 20 10:31 ptysa
crw-rw-rw-   1 root  wheel       5,  59  3 20 10:31 ptysb
crw-rw-rw-   1 root  wheel       5,  60  3 20 10:31 ptysc
crw-rw-rw-   1 root  wheel       5,  61  3 20 10:31 ptysd
crw-rw-rw-   1 root  wheel       5,  62  3 20 10:31 ptyse
crw-rw-rw-   1 root  wheel       5,  63  3 20 10:31 ptysf
crw-rw-rw-   1 root  wheel       5,  64  3 20 10:31 ptyt0
crw-rw-rw-   1 root  wheel       5,  65  3 20 10:31 ptyt1
crw-rw-rw-   1 root  wheel       5,  66  3 20 10:31 ptyt2
crw-rw-rw-   1 root  wheel       5,  67  3 20 10:31 ptyt3
crw-rw-rw-   1 root  wheel       5,  68  3 20 10:31 ptyt4
crw-rw-rw-   1 root  wheel       5,  69  3 20 10:31 ptyt5
crw-rw-rw-   1 root  wheel       5,  70  3 20 10:31 ptyt6
crw-rw-rw-   1 root  wheel       5,  71  3 20 10:31 ptyt7
crw-rw-rw-   1 root  wheel       5,  72  3 20 10:31 ptyt8
crw-rw-rw-   1 root  wheel       5,  73  3 20 10:31 ptyt9
crw-rw-rw-   1 root  wheel       5,  74  3 20 10:31 ptyta
crw-rw-rw-   1 root  wheel       5,  75  3 20 10:31 ptytb
crw-rw-rw-   1 root  wheel       5,  76  3 20 10:31 ptytc
crw-rw-rw-   1 root  wheel       5,  77  3 20 10:31 ptytd
crw-rw-rw-   1 root  wheel       5,  78  3 20 10:31 ptyte
crw-rw-rw-   1 root  wheel       5,  79  3 20 10:31 ptytf
crw-rw-rw-   1 root  wheel       5,  80  3 20 10:31 ptyu0
crw-rw-rw-   1 root  wheel       5,  81  3 20 10:31 ptyu1
crw-rw-rw-   1 root  wheel       5,  82  3 20 10:31 ptyu2
crw-rw-rw-   1 root  wheel       5,  83  3 20 10:31 ptyu3
crw-rw-rw-   1 root  wheel       5,  84  3 20 10:31 ptyu4
crw-rw-rw-   1 root  wheel       5,  85  3 20 10:31 ptyu5
crw-rw-rw-   1 root  wheel       5,  86  3 20 10:31 ptyu6
crw-rw-rw-   1 root  wheel       5,  87  3 20 10:31 ptyu7
crw-rw-rw-   1 root  wheel       5,  88  3 20 10:31 ptyu8
crw-rw-rw-   1 root  wheel       5,  89  3 20 10:31 ptyu9
crw-rw-rw-   1 root  wheel       5,  90  3 20 10:31 ptyua
crw-rw-rw-   1 root  wheel       5,  91  3 20 10:31 ptyub
crw-rw-rw-   1 root  wheel       5,  92  3 20 10:31 ptyuc
crw-rw-rw-   1 root  wheel       5,  93  3 20 10:31 ptyud
crw-rw-rw-   1 root  wheel       5,  94  3 20 10:31 ptyue
crw-rw-rw-   1 root  wheel       5,  95  3 20 10:31 ptyuf
crw-rw-rw-   1 root  wheel       5,  96  3 20 10:31 ptyv0
crw-rw-rw-   1 root  wheel       5,  97  3 20 10:31 ptyv1
crw-rw-rw-   1 root  wheel       5,  98  3 20 10:31 ptyv2
crw-rw-rw-   1 root  wheel       5,  99  3 20 10:31 ptyv3
crw-rw-rw-   1 root  wheel       5, 100  3 20 10:31 ptyv4
crw-rw-rw-   1 root  wheel       5, 101  3 20 10:31 ptyv5
crw-rw-rw-   1 root  wheel       5, 102  3 20 10:31 ptyv6
crw-rw-rw-   1 root  wheel       5, 103  3 20 10:31 ptyv7
crw-rw-rw-   1 root  wheel       5, 104  3 20 10:31 ptyv8
crw-rw-rw-   1 root  wheel       5, 105  3 20 10:31 ptyv9
crw-rw-rw-   1 root  wheel       5, 106  3 20 10:31 ptyva
crw-rw-rw-   1 root  wheel       5, 107  3 20 10:31 ptyvb
crw-rw-rw-   1 root  wheel       5, 108  3 20 10:31 ptyvc
crw-rw-rw-   1 root  wheel       5, 109  3 20 10:31 ptyvd
crw-rw-rw-   1 root  wheel       5, 110  3 20 10:31 ptyve
crw-rw-rw-   1 root  wheel       5, 111  3 20 10:31 ptyvf
crw-rw-rw-   1 root  wheel       5, 112  3 20 10:31 ptyw0
crw-rw-rw-   1 root  wheel       5, 113  3 20 10:31 ptyw1
crw-rw-rw-   1 root  wheel       5, 114  3 20 10:31 ptyw2
crw-rw-rw-   1 root  wheel       5, 115  3 20 10:31 ptyw3
crw-rw-rw-   1 root  wheel       5, 116  3 20 10:31 ptyw4
crw-rw-rw-   1 root  wheel       5, 117  3 20 10:31 ptyw5
crw-rw-rw-   1 root  wheel       5, 118  3 20 10:31 ptyw6
crw-rw-rw-   1 root  wheel       5, 119  3 20 10:31 ptyw7
crw-rw-rw-   1 root  wheel       5, 120  3 20 10:31 ptyw8
crw-rw-rw-   1 root  wheel       5, 121  3 20 10:31 ptyw9
crw-rw-rw-   1 root  wheel       5, 122  3 20 10:31 ptywa
crw-rw-rw-   1 root  wheel       5, 123  3 20 10:31 ptywb
crw-rw-rw-   1 root  wheel       5, 124  3 20 10:31 ptywc
crw-rw-rw-   1 root  wheel       5, 125  3 20 10:31 ptywd
crw-rw-rw-   1 root  wheel       5, 126  3 20 10:31 ptywe
crw-rw-rw-   1 root  wheel       5, 127  3 20 10:31 ptywf
crw-rw-rw-   1 root  wheel      14,   0  3 20 10:31 random
crw-r-----   1 root  operator    1,   0  3 20 10:31 rdisk0
crw-r-----   1 root  operator    1,   1  3 20 10:31 rdisk0s1
crw-r-----   1 root  operator    1,   2  3 20 10:31 rdisk0s2
crw-r-----   1 root  operator    1,   3  3 20 10:31 rdisk1
crw-r-----   1 root  operator    1,   4  3 20 10:31 rdisk1s1
crw-r-----   1 root  operator    1,   8  3 20 10:31 rdisk1s2
crw-r-----   1 root  operator    1,   6  3 20 10:31 rdisk1s3
crw-r-----   1 root  operator    1,   5  3 20 10:31 rdisk1s4
crw-r-----   1 root  operator    1,   7  3 20 10:31 rdisk1s5
cr--r-----   1 shin  staff       1,   9  3 20 11:05 rdisk2
cr--r-----   1 shin  staff       1,  10  3 20 11:05 rdisk2s1
crw-rw-rw-   1 root  wheel       0,   0  3 20 10:31 sdt
lr-xr-xr-x   1 root  wheel            0  3 20 10:31 stderr -> fd/2
lr-xr-xr-x   1 root  wheel            0  3 20 10:31 stdin -> fd/0
lr-xr-xr-x   1 root  wheel            0  3 20 10:31 stdout -> fd/1
crw-rw-rw-   1 root  wheel       0,   0  3 20 10:31 systrace
crw-rw-rw-   1 root  wheel       2,   0  3 20 10:31 tty
crw-rw-rw-   1 root  wheel      18,   0  3 20 10:31 tty.Bluetooth-Incoming-Port
crw-rw-rw-   1 root  wheel       4,   0  3 20 10:31 ttyp0
crw-rw-rw-   1 root  wheel       4,   1  3 20 10:31 ttyp1
crw-rw-rw-   1 root  wheel       4,   2  3 20 10:31 ttyp2
crw-rw-rw-   1 root  wheel       4,   3  3 20 10:31 ttyp3
crw-rw-rw-   1 root  wheel       4,   4  3 20 10:31 ttyp4
crw-rw-rw-   1 root  wheel       4,   5  3 20 10:31 ttyp5
crw-rw-rw-   1 root  wheel       4,   6  3 20 10:31 ttyp6
crw-rw-rw-   1 root  wheel       4,   7  3 20 10:31 ttyp7
crw-rw-rw-   1 root  wheel       4,   8  3 20 10:31 ttyp8
crw-rw-rw-   1 root  wheel       4,   9  3 20 10:31 ttyp9
crw-rw-rw-   1 root  wheel       4,  10  3 20 10:31 ttypa
crw-rw-rw-   1 root  wheel       4,  11  3 20 10:31 ttypb
crw-rw-rw-   1 root  wheel       4,  12  3 20 10:31 ttypc
crw-rw-rw-   1 root  wheel       4,  13  3 20 10:31 ttypd
crw-rw-rw-   1 root  wheel       4,  14  3 20 10:31 ttype
crw-rw-rw-   1 root  wheel       4,  15  3 20 10:31 ttypf
crw-rw-rw-   1 root  wheel       4,  16  3 20 10:31 ttyq0
crw-rw-rw-   1 root  wheel       4,  17  3 20 10:31 ttyq1
crw-rw-rw-   1 root  wheel       4,  18  3 20 10:31 ttyq2
crw-rw-rw-   1 root  wheel       4,  19  3 20 10:31 ttyq3
crw-rw-rw-   1 root  wheel       4,  20  3 20 10:31 ttyq4
crw-rw-rw-   1 root  wheel       4,  21  3 20 10:31 ttyq5
crw-rw-rw-   1 root  wheel       4,  22  3 20 10:31 ttyq6
crw-rw-rw-   1 root  wheel       4,  23  3 20 10:31 ttyq7
crw-rw-rw-   1 root  wheel       4,  24  3 20 10:31 ttyq8
crw-rw-rw-   1 root  wheel       4,  25  3 20 10:31 ttyq9
crw-rw-rw-   1 root  wheel       4,  26  3 20 10:31 ttyqa
crw-rw-rw-   1 root  wheel       4,  27  3 20 10:31 ttyqb
crw-rw-rw-   1 root  wheel       4,  28  3 20 10:31 ttyqc
crw-rw-rw-   1 root  wheel       4,  29  3 20 10:31 ttyqd
crw-rw-rw-   1 root  wheel       4,  30  3 20 10:31 ttyqe
crw-rw-rw-   1 root  wheel       4,  31  3 20 10:31 ttyqf
crw-rw-rw-   1 root  wheel       4,  32  3 20 10:31 ttyr0
crw-rw-rw-   1 root  wheel       4,  33  3 20 10:31 ttyr1
crw-rw-rw-   1 root  wheel       4,  34  3 20 10:31 ttyr2
crw-rw-rw-   1 root  wheel       4,  35  3 20 10:31 ttyr3
crw-rw-rw-   1 root  wheel       4,  36  3 20 10:31 ttyr4
crw-rw-rw-   1 root  wheel       4,  37  3 20 10:31 ttyr5
crw-rw-rw-   1 root  wheel       4,  38  3 20 10:31 ttyr6
crw-rw-rw-   1 root  wheel       4,  39  3 20 10:31 ttyr7
crw-rw-rw-   1 root  wheel       4,  40  3 20 10:31 ttyr8
crw-rw-rw-   1 root  wheel       4,  41  3 20 10:31 ttyr9
crw-rw-rw-   1 root  wheel       4,  42  3 20 10:31 ttyra
crw-rw-rw-   1 root  wheel       4,  43  3 20 10:31 ttyrb
crw-rw-rw-   1 root  wheel       4,  44  3 20 10:31 ttyrc
crw-rw-rw-   1 root  wheel       4,  45  3 20 10:31 ttyrd
crw-rw-rw-   1 root  wheel       4,  46  3 20 10:31 ttyre
crw-rw-rw-   1 root  wheel       4,  47  3 20 10:31 ttyrf
crw-rw-rw-   1 root  wheel       4,  48  3 20 10:31 ttys0
crw--w----   1 shin  tty        16,   0  3 20 11:16 ttys000
crw-rw-rw-   1 root  wheel       4,  49  3 20 10:31 ttys1
crw-rw-rw-   1 root  wheel       4,  50  3 20 10:31 ttys2
crw-rw-rw-   1 root  wheel       4,  51  3 20 10:31 ttys3
crw-rw-rw-   1 root  wheel       4,  52  3 20 10:31 ttys4
crw-rw-rw-   1 root  wheel       4,  53  3 20 10:31 ttys5
crw-rw-rw-   1 root  wheel       4,  54  3 20 10:31 ttys6
crw-rw-rw-   1 root  wheel       4,  55  3 20 10:31 ttys7
crw-rw-rw-   1 root  wheel       4,  56  3 20 10:31 ttys8
crw-rw-rw-   1 root  wheel       4,  57  3 20 10:31 ttys9
crw-rw-rw-   1 root  wheel       4,  58  3 20 10:31 ttysa
crw-rw-rw-   1 root  wheel       4,  59  3 20 10:31 ttysb
crw-rw-rw-   1 root  wheel       4,  60  3 20 10:31 ttysc
crw-rw-rw-   1 root  wheel       4,  61  3 20 10:31 ttysd
crw-rw-rw-   1 root  wheel       4,  62  3 20 10:31 ttyse
crw-rw-rw-   1 root  wheel       4,  63  3 20 10:31 ttysf
crw-rw-rw-   1 root  wheel       4,  64  3 20 10:31 ttyt0
crw-rw-rw-   1 root  wheel       4,  65  3 20 10:31 ttyt1
crw-rw-rw-   1 root  wheel       4,  66  3 20 10:31 ttyt2
crw-rw-rw-   1 root  wheel       4,  67  3 20 10:31 ttyt3
crw-rw-rw-   1 root  wheel       4,  68  3 20 10:31 ttyt4
crw-rw-rw-   1 root  wheel       4,  69  3 20 10:31 ttyt5
crw-rw-rw-   1 root  wheel       4,  70  3 20 10:31 ttyt6
crw-rw-rw-   1 root  wheel       4,  71  3 20 10:31 ttyt7
crw-rw-rw-   1 root  wheel       4,  72  3 20 10:31 ttyt8
crw-rw-rw-   1 root  wheel       4,  73  3 20 10:31 ttyt9
crw-rw-rw-   1 root  wheel       4,  74  3 20 10:31 ttyta
crw-rw-rw-   1 root  wheel       4,  75  3 20 10:31 ttytb
crw-rw-rw-   1 root  wheel       4,  76  3 20 10:31 ttytc
crw-rw-rw-   1 root  wheel       4,  77  3 20 10:31 ttytd
crw-rw-rw-   1 root  wheel       4,  78  3 20 10:31 ttyte
crw-rw-rw-   1 root  wheel       4,  79  3 20 10:31 ttytf
crw-rw-rw-   1 root  wheel       4,  80  3 20 10:31 ttyu0
crw-rw-rw-   1 root  wheel       4,  81  3 20 10:31 ttyu1
crw-rw-rw-   1 root  wheel       4,  82  3 20 10:31 ttyu2
crw-rw-rw-   1 root  wheel       4,  83  3 20 10:31 ttyu3
crw-rw-rw-   1 root  wheel       4,  84  3 20 10:31 ttyu4
crw-rw-rw-   1 root  wheel       4,  85  3 20 10:31 ttyu5
crw-rw-rw-   1 root  wheel       4,  86  3 20 10:31 ttyu6
crw-rw-rw-   1 root  wheel       4,  87  3 20 10:31 ttyu7
crw-rw-rw-   1 root  wheel       4,  88  3 20 10:31 ttyu8
crw-rw-rw-   1 root  wheel       4,  89  3 20 10:31 ttyu9
crw-rw-rw-   1 root  wheel       4,  90  3 20 10:31 ttyua
crw-rw-rw-   1 root  wheel       4,  91  3 20 10:31 ttyub
crw-rw-rw-   1 root  wheel       4,  92  3 20 10:31 ttyuc
crw-rw-rw-   1 root  wheel       4,  93  3 20 10:31 ttyud
crw-rw-rw-   1 root  wheel       4,  94  3 20 10:31 ttyue
crw-rw-rw-   1 root  wheel       4,  95  3 20 10:31 ttyuf
crw-rw-rw-   1 root  wheel       4,  96  3 20 10:31 ttyv0
crw-rw-rw-   1 root  wheel       4,  97  3 20 10:31 ttyv1
crw-rw-rw-   1 root  wheel       4,  98  3 20 10:31 ttyv2
crw-rw-rw-   1 root  wheel       4,  99  3 20 10:31 ttyv3
crw-rw-rw-   1 root  wheel       4, 100  3 20 10:31 ttyv4
crw-rw-rw-   1 root  wheel       4, 101  3 20 10:31 ttyv5
crw-rw-rw-   1 root  wheel       4, 102  3 20 10:31 ttyv6
crw-rw-rw-   1 root  wheel       4, 103  3 20 10:31 ttyv7
crw-rw-rw-   1 root  wheel       4, 104  3 20 10:31 ttyv8
crw-rw-rw-   1 root  wheel       4, 105  3 20 10:31 ttyv9
crw-rw-rw-   1 root  wheel       4, 106  3 20 10:31 ttyva
crw-rw-rw-   1 root  wheel       4, 107  3 20 10:31 ttyvb
crw-rw-rw-   1 root  wheel       4, 108  3 20 10:31 ttyvc
crw-rw-rw-   1 root  wheel       4, 109  3 20 10:31 ttyvd
crw-rw-rw-   1 root  wheel       4, 110  3 20 10:31 ttyve
crw-rw-rw-   1 root  wheel       4, 111  3 20 10:31 ttyvf
crw-rw-rw-   1 root  wheel       4, 112  3 20 10:31 ttyw0
crw-rw-rw-   1 root  wheel       4, 113  3 20 10:31 ttyw1
crw-rw-rw-   1 root  wheel       4, 114  3 20 10:31 ttyw2
crw-rw-rw-   1 root  wheel       4, 115  3 20 10:31 ttyw3
crw-rw-rw-   1 root  wheel       4, 116  3 20 10:31 ttyw4
crw-rw-rw-   1 root  wheel       4, 117  3 20 10:31 ttyw5
crw-rw-rw-   1 root  wheel       4, 118  3 20 10:31 ttyw6
crw-rw-rw-   1 root  wheel       4, 119  3 20 10:31 ttyw7
crw-rw-rw-   1 root  wheel       4, 120  3 20 10:31 ttyw8
crw-rw-rw-   1 root  wheel       4, 121  3 20 10:31 ttyw9
crw-rw-rw-   1 root  wheel       4, 122  3 20 10:31 ttywa
crw-rw-rw-   1 root  wheel       4, 123  3 20 10:31 ttywb
crw-rw-rw-   1 root  wheel       4, 124  3 20 10:31 ttywc
crw-rw-rw-   1 root  wheel       4, 125  3 20 10:31 ttywd
crw-rw-rw-   1 root  wheel       4, 126  3 20 10:31 ttywe
crw-rw-rw-   1 root  wheel       4, 127  3 20 10:31 ttywf
crw-rw-rw-   1 root  wheel      14,   1  3 20 10:31 urandom
crw-rw-rw-   1 root  wheel       3,   3  3 20 10:31 zero

 

홈에는 디렉토리가 있는데 먼가.. 우분투 기본 디렉토리가 이걸 따라한건가 싶고..

사진등을 구분할때 디렉토리가 없어서 불편하다고 하는데 그게 아이패드 이야기 였는지 맥 이야기였는지 헷갈리지만

걍.. 리눅스같은 느낌이구나.. 정도가 현재 느낌

% ls -al
total 48
drwxr-xr-x+ 17 shin  staff    544  3 20 10:56 .
drwxr-xr-x   5 root  admin    160 10 31  2020 ..
-r--------   1 shin  staff      8  3 19 16:50 .CFUserTextEncoding
-rw-r--r--@  1 shin  staff  10244  3 20 10:34 .DS_Store
drwx------   5 shin  staff    160  3 20 10:38 .Trash
-rw-------   1 shin  staff     17  3 20 11:10 .bash_history
drwxr-xr-x   4 shin  staff    128  3 20 10:38 .vscode
-rw-------   1 shin  staff     77  3 20 10:34 .zsh_history
drwx------@  4 shin  staff    128  3 20 10:48 Applications
drwx------+  6 shin  staff    192  3 20 11:07 Desktop
drwx------+  3 shin  staff     96  3 19 16:50 Documents
drwx------+  6 shin  staff    192  3 20 11:03 Downloads
drwx------@ 59 shin  staff   1888  3 20 11:02 Library
drwx------+  4 shin  staff    128  3 19 16:53 Movies
drwx------+  4 shin  staff    128  3 19 18:51 Music
drwx------+  4 shin  staff    128  3 20 11:02 Pictures
drwxr-xr-x+  4 shin  staff    128  3 19 16:50 Public

 

예전에 맥은 rootless들은 거 같은데.. macos 이야기가 아니었나?

% ls -al
total 9
drwxr-xr-x  22 root  admin   704  3 19 19:23 .
drwxr-xr-x  22 root  admin   704  3 19 19:23 ..
-rw-rw-r--   1 root  admin     0  6  6  2020 .DS_Store
lrwxr-xr-x   1 root  admin    36  3 16 13:57 .VolumeIcon.icns -> System/Volumes/Data/.VolumeIcon.icns
----------   1 root  admin     0  6  6  2020 .file
drwx------  48 root  admin  1536  3 19 19:28 .fseventsd
drwxr-xr-x   2 root  wheel    64  6  6  2020 .vol
drwxrwxr-x+  7 root  admin   224  3 20 10:37 Applications
drwxr-xr-x  62 root  wheel  1984  3 20 11:02 Library
drwxr-xr-x@  8 root  wheel   256 10 31  2020 System
drwxr-xr-x   5 root  admin   160 10 31  2020 Users
drwxr-xr-x   4 root  wheel   128  3 20 11:05 Volumes
drwxr-xr-x@ 38 root  wheel  1216  3 19 19:23 bin
drwxr-xr-x   2 root  wheel    64  6  6  2020 cores
dr-xr-xr-x   3 root  wheel  4360  3 20 10:31 dev
lrwxr-xr-x@  1 root  admin    11  3 16 13:48 etc -> private/etc
lrwxr-xr-x   1 root  wheel    25  3 20 10:31 home -> /System/Volumes/Data/home
drwxr-xr-x   2 root  wheel    64  6  6  2020 opt
drwxr-xr-x   6 root  wheel   192  3 19 19:24 private
drwxr-xr-x@ 63 root  wheel  2016  3 19 19:23 sbin
lrwxr-xr-x@  1 root  admin    11  3 16 13:57 tmp -> private/tmp
drwxr-xr-x@ 12 root  wheel   384  3 19 19:23 usr
lrwxr-xr-x@  1 root  admin    11  3 16 13:57 var -> private/var

'Apple' 카테고리의 다른 글

macos ssh 서버 구동  (0) 2022.03.25
macos python opengl  (0) 2022.03.21
dmg 파일 분해  (0) 2022.03.21
mac python opencv 설치  (0) 2022.03.20
맥(카탈리나) 환경 설정 중  (0) 2022.03.20
Posted by 구차니
Apple2022. 3. 20. 11:08

판매자 말로는 6시간은 쓴다고 했으니 한번 테스트는 해봐야지

그나저나 'ㅏ' 가 조금 강하게 눌러야 쳐지는 느낌이다.

 

파이썬 3는 쉘 확장으로 되어있는지 터미널에서 python3 입력하니 알아서 설치한다.

 

ssh x11 forwarding에는 xqurartz 라는걸 설치하면 된다고 하고

[링크 : https://www.xquartz.org/]

 

vscode 와 chrome은  dmg로 받아서 설치하면 끝

vscode는 finder에서 응용프로그램으로 던져주면 설치되고

vscode에서 path를 지정하도록 하면 콘솔에서도 code 명령으로 실행이 가능해 진다.

[링크 : https://www.lainyzine.com/ko/article/how-to-execute-visual-studio-code-from-terminal/]

[링크 : https://www.lainyzine.com/ko/article/how-to-install-visual-studio-code-on-macos/]

'Apple' 카테고리의 다른 글

macos ssh 서버 구동  (0) 2022.03.25
macos python opengl  (0) 2022.03.21
dmg 파일 분해  (0) 2022.03.21
mac python opencv 설치  (0) 2022.03.20
mac os  (0) 2022.03.20
Posted by 구차니