본문 바로가기
[mac] Recovery mode 들어가기 [mac] Recovery mode 들어가기 -부팅하면서 Command + REasy !! command r, MAC, recovery mode, [mac] Recovery mode 들어가기 2017. 11. 12.
[linux] ln 명령어 [linux] ln 명령어 -link 의 약자이다. -한 파일을 다른 파일 이름으로도 사용하고자 할 때 사용하는 명령어이다.링크된 파일 중 한 파일을 수정하면 다른 파일들도 수정된다.하드 링크와 심볼릭 링크가 있다. -하드링크는...파일의 내용물 자체는 sync 가 되지만, 파일 자체는 독립적으로 존재한다고 보면 된다.즉 원본파일의 내용, 소유자, 권한 등을 변환하면 대상파일도 이와 동일하게 변경된다. 그러나, 파일을 없애려면 링크로 생성된 링크 파일을 모두 지워야 한다.파일 자체는 독립적인 특이한 녀석이다.$ ln [원본파일명] [대상파일명] -심볼릭 링크는...윈도우 운영체제의 바로 가기 아이콘 개념이다.링크로 생성된 파일에 내용이 존재하지 않고 각각의 i-node 를 가진 또 다른 파일이 어디를 가.. 2017. 11. 1.
[mac] “rootless” feature in EI Capitan. [mac] “rootless” feature in EI Capitan. -EI Capitan 에서는 “Rootless” 라는 기능이 있다.이 말은 root user 는 없다는 말이고 이 말인 즉슨,누구도 /System folder 에 대해 modify 를 할 수 없다는 것이다. -그럼 진짜 Root User 는 없는 것일까?Rootless 의 공식적인 이름은 “System Integrity Protection” (SIP) 이다.이것이 진짜 의미는 root user 가 되더라도 이전처럼 system 에 대해 전적인 control 을 할 수 없음을 이야기한다. 이것이 등장한 이유는 너무 쉽게 malware 가 root 권한을 얻을 수 있기 때문이다. -System Integrity Protection (SI.. 2017. 10. 31.
[OSX] Bash Script 에서 Script 실행파일이 있는 Path 구하기 [OSX] Bash Script 에서 Script 실행파일이 있는 Path 구하기 DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 요 녀석이 현재 directory 를 갖는다 ${BASH_SOURCE[0]}, bash script, bash_source, dirname, OSX, script 실행파일 path, [OSX] Bash Script 에서 Script 실행파일이 있는 Path 구하기 2017. 8. 23.
[linux] yum tutorial [linux] yum tutorial https://linuxmoz.com/linux-yum-tutorial/ -YUM 은 Redhat RHEL, CentOS, Fedora 등의 Linux distribution 에 사용된다.Yum 은 RPM repo 를 사용하며, package 의 설치, 삭제 등을 관리할 수 있다. -RPM 은 Redhat Package Manager 의 약자이다. -모든 RPM package update 하기$ yum update -한개의 package 만 설치하기$ yum install -특정 package 를 제외하며 update 하기$ yum —exclude=package update -패키지 삭제하기$ yum remove or$ yum erase -패키지 조회하기$ yum l.. 2017. 7. 7.
[vi] shortcut for undo and redo [vi] shortcut for undo and redo u (undo) : undoCtrl + R : redo Redo, undo, vi shortcut, [vi] shortcut for undo and redo 2017. 7. 5.
[vi] shortcut for moving to the end of the line and the first char of the line [vi] shortcut for moving to the end of the line and the first char of the line $ : move to end of the lineA (append) : move to end of line and change the mode to insert 0 : move to the beginning of the line.^ : move to the first non-whitespace character of the line.I (insert) : move to the beginning of the line and change the mode to insert $, append, beginning of the line, move to end, move to .. 2017. 7. 4.
OSX 에서 USB Vendor ID 보기 OSX 에서 USB Vendor ID 보기 lsusb 명령어가 OSX 에는 없기 때문에 (linux 에는 있다)USB Vendor ID 를 알기 위해서는.. 1. 좌상단의 애플 아이콘 클릭2. 이 Mac에 관하여 클릭3. 시스템 리포트 클릭4. [하드웨어] - [USB] 에서 연결된 단말을 확인 About, linux, lsusb, MAC, OSX, OSX 에서 USB Vendor ID 보기, USB, USB Vendor ID, 시스템 리포트, 하드웨어 2017. 6. 12.
[OSX] Unknown android device 붙이는 방법 [OSX] Unknown android device 붙이는 방법 OSX 에서 unknown android device 를 붙이는 방법. 해당 device 의 usb vendor id 를 조회해본다.해당 vendor id 를 adb_usb.ini 에 등록해준다. 예를 들어 내가 붙이고 싶은 usb vendor id 가 foxconn 이라면..( general vendor id 는 여기서 확인 http://developer.android.com/tools/device.html#VendorIds ) $ echo 0x0489 >> ~/.android/adb_usb.ini adb_usb.ini, Device, echo, foxconn, general vendor id, MAC, OSX, UNKNOWN, unkno.. 2017. 6. 10.
반응형