본문 바로가기

S

ps command PC meaning, ps 명령어 의미 root@graceqltevzw:/ # ps USER PID PPID VSIZE RSS WCHAN PC NAMEroot 1 0 5920 912 SyS_epoll_ 00004cfa20 S /initroot 2 0 0 0 kthreadd 0000000000 S kthreaddroot 3 2 0 0 smpboot_th 0000000000 S ksoftirqd/0root 4 2 0 0 worker_thr 0000000000 S kworker/0:0...root 645 1 4344 408 SyS_epoll_ 000044a668 S /sbin/healthdroot 647 1 6536 2080 SyS_epoll_ 7f952d2594 S /system/bin/lmkdsystem 648 1 7508 2548 binder.. 더보기
hard link 와 symbol link (sym link) 의 차이점 기본 차이점을 잘 설명한 곳 :http://blog.naver.com/dorose2000/220575536780 만약 원본의 소유주나 권한이 바뀐다면?? $ echo 444 > 444.log$ sudo chown root:root ./444.log $ ls -altotal 20drwxrwxr-x 2 onegun onegun 4096 9월 12 16:02 .drwxrwxrwx 10 root root 4096 9월 12 15:59 ..-rw-rw-r-- 1 onegun onegun 4 9월 12 16:00 111.log-rw-rw-r-- 1 root root 4 9월 12 16:02 444.log-rw-rw-r-- 1 onegun onegun 4 9월 12 16:00 hardlnklrwxrwxrwx 1 on.. 더보기
sudo -s / su 와의 차이점 sudo -s 계정은 그대로 user 계정인 상태에서 이후 실행되는 명령어 들만 root 권한으로 실행시킴 su계정이 root 로 변경됨 su 와 su - root(su -) 와의 차이점이 아래 설명되어 있지만 맞는지는 모르겠음.http://blog.naver.com/ooobba/70189243851 더보기
logcat 사용법 정리 [adb] logcat [] ... [] ... The following table describes the logcat command line options: -c Clears (flushes) the entire log and exits. 전체로그를 삭제하고 빠져나옵니다. -d Dumps the log to the screen and exits. 저장된 로그를 화면에 출력하고 종료한다. -f Writes log message output to . The default is stdout. -g Prints the size of the specified log buffer and exits. 로그버퍼의 사이즈를 출력 -n Sets the maximum number of rotated logs to . T.. 더보기