Debian
목차
설치된 패키지 검색
$ dpkg-query -l [검색어]
서비스 리스트
$ chkconfig --list
결과
alsa-utils 0:off 1:off 2:off 3:off 4:off 5:off 6:off S:on
마지막에 나오는 S:on이 실행상태인것 같은데, 실제 서비스 실행상태와는 다른 경우가 있다.
$ service slapd status
smartctl
디스크 검사
$ sudo apt install smartmontools
$ smartctl /dev/mmcblk0
fsck
$ fsck /dev/mmcblk0
DNS
$ cat /etc/resolv.conf
ping
ping: command not found
$ apt-get update
$ apt-get install iputils-ping
사용자 관리
기존유저 user를 group에 추가
$ usermod -a -G group user
시간설정
sudo dpkg-reconfigure tzdata