리눅스에서 디렉토리 생성과 삭제 명령어 mkdir, rmdir [root@localhost ~]# mkdir test 디렉토리 생성 [root@localhost ~]# mkdir -p test2/test3 서브 디렉토리까지 함께 생성 옵션 [root@localhost ~]# ls Desktop anaconda-ks.cfg install.log install.log.syslog scsrun.log test test2 [root@localhost ~]# rmdir test 디렉토리 삭제 - 빈 디렉토리만 삭제가능 [root@localhost ~]# rmdir -p test2/test3 서브 디렉토리 까지 삭제 - 비어있어야 함 [root@localhost ~]# ls Desktop anaconda-ks.cf..
리눅스 명령어 touch 크기가 0인 파일 생성이나 파일 날짜 갱신 시 사용 파일 사이즈가 0인 파일을 간편하게 생성 할 때 사용하는 명령어입니다. 저 같은 경우는 가끔 사용하는데 다음 날 갱신 할 파일이 있을 때 오늘 해당 파일 생성 해 놓고 다음 날 갱신 할 때 사용하곤 합니다. [root@localhost test]# touch vash [root@localhost test]# ll total 0 -rw-r--r-- 1 root root 0 Oct 5 09:00 vash [root@localhost test]# touch vash [root@localhost test]# ll total 0 -rw-r--r-- 1 root root 0 Oct 5 09:01 vash [root@localhost tes..
리눅스에서 파일의 퍼미션 숙지하기 [root@localhost ~]# ll total 64 drwxr-xr-x 2 root root 4096 Oct 5 07:41 Desktop -rw------- 1 root root 1210 Oct 5 07:30 anaconda-ks.cfg -rw-r--r-- 1 root root 27415 Oct 5 07:30 install.log -rw-r--r-- 1 root root 3738 Oct 5 07:30 install.log.syslog -rw-r--r-- 1 root root 199 Oct 5 07:38 scsrun.log drwxr-xr-x 2 root root 4096 Oct 5 09:00 test [root@localhost ~]# ll 명령어를 쳤을 때.. 파..
[root@localhost ~]# vi /boot/grub/grub.conf [root@localhost ~]# 이렇게 치면은... # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda3 # initrd /initrd-version.img #boot=/dev/..
fedora 12, 페도라12 해상도 잡는 방법, 그래픽카드 지인의 도움으로 한 번에 잡았네요. /etc/X11/xorg.conf 저 파일로 적용하면 잡힙니다. [sage@localhost ~]$ more /etc/X11/xorg.conf # Xorg configuration created by system-config-display Section "ServerLayout" Identifier "single head configuration" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "InputDevice" # keyboard added by system-config-display Identifier ..
root@localhost ~]# mkdir /win [root@localhost ~]# mount -t cifs //192.168.0.192/Work /win -o "username=아이디,password=비밀번호" [root@localhost ~]# cd /win [root@localhost win]# ls 먼저 원도우에서 폴더를 공유하고 보안을 위해서 특정 사용자만 접근할 수 있게 합니다. 사용자가 없다면 사용자를 추가해서 설정하면되겠죠. 그런 후에 리눅스에서 mkdir win 이렇게 마운트할 디렉토리를 만들고. [root@localhost ~]# mount -t cifs //192.168.0.192/Work /win -o "username=아이디,password=비밀번호" 이렇게 치면됩니다. 아이..