-
LinuxSysAdmin/기타 2013. 7. 4. 00:19
centos-release-5-11
2.6.18
- GRUB(GRand Unified Bootloader)
/boot/grub/grub.conf
or /etc/grub.conf
-
> 리눅스 배포판의 이름과 버전
$ rpm -qa *-release
or cat /etc/*-release | uniq
or cat /etc/issue
> 커널 버전
$ uname -r
or cat /proc/version
or last reboot | head -1
or rpm -qa kernel
or yum info installed kernel | egrep "^Version|^Release"
or yum list installed | grep ^kernel
># shutdown -h now
or halt
or init 0
$ pm-hibernate
# reboot
or shutdown -r now
or init 6
$ logout
or exit
or ^D
-
## /etc/default/useradd
## /etc/skel/
## /etc/passwd
# useradd user1
# passwd user1
# userdel user1
-
$ mkdir {..}
$ rmdir {..}
$ touch {..}
$ cp {..} {..}
$ rm {..}
$ mv [-b] {..} {..}
$ cat {..}
$ more {..}
$ less {..}
$ find {..} -name ".."
$ grep [-n] ".." {..}
$ chmod (755) {..}
$ chown (linux) {..}
$ chgrp (linux) {..}
$ tar -cvzf {..}.tar.gz /{..}
$ tar -xvzf {..}.tar.gz
$ tar -cvjf {..}.tar.bz2 /{..}
$ tar -xvjf {..}.tar.bz2
# system-config-securitylevel-tui
$ rpm -qa | grep telnet
# yum install telnet-server
# chkconfig telnet on
# service xinetd restart
-
/etc/sudoer
${user id} ALL=(ALL) ALL
LD_LIBRARY_PATH (or DYLD_LIBRARY_PATH on Mac OS X)
참조 사이트:
http://www.linuxfromscratch.org/
https://wiki.kldp.org/wiki.php/LinuxdocSgml/Linux-From-Scratch-HOWTO
https://wiki.archlinux.org/index.php/pm-utils
http://devtainer.blogspot.kr/2011/03/sudo-in-centos_16.html
http://jmnote.com/wiki/%EB%A6%AC%EB%88%85%EC%8A%A4_%EB%B2%84%EC%A0%84_%ED%99%95%EC%9D%B8